Codecast: Install NVM and Yarn in Ubuntu 20.04

Опубликовано: 30 Сентябрь 2024
на канале: Stateless Code
500
7

In this 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... | bash

0:04:30 - Close and re-open terminal

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

0:06:45 - Install Yarn as a global NPM package and validate
npm install --global yarn
yarn -v



This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.