Codecast: Install NVM and Yarn in Ubuntu 20.04


In this setup and configuration codecast, Mike installs NVM and Yarn version 1.22 on Ubuntu 20-04.

This video covers:

0:01:00 – Review Yarn on the website and choose Yarn classic

0:02:11 – Attempt to install Yarn with NPM as a global package and encounter EACCES error and troubleshoot with the NPM docs

0:03:33 – Install NVM

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

Close and re-open terminal

0:06:00 – Reinstall Node with NVM (current even-numbered version at time of recording)

nvm install 14.15.5 

0:06:45 – Install Yarn as a global NPM package and validate

npm install --global yarn 
yarn -v


Leave a Reply