- sudo apt-get install curl python-software-properties
- curl -sL https://deb.nodesource.com/setup_11.x | sudo bash -
Step 2 – Install Node.js on Linux Mint
- sudo apt-get install nodejs
Step 3 – Install Yarn using NPM
- sudo npm install yarn -g
Step 4 – Check Node.js Version
- node -v (11.12.0)
- npm -v (6.7.0)
- yarn -v (1.13.0)
See also:
沒有留言:
張貼留言