Install Nvm, Npm, Yarn - Setting up Node on Ubuntu¶
Here's how to install and setup Node on Ubuntu.
Sources :
- GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
- Installation | Yarn
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
command -v nvm # After relaunching terminal
nvm install --lts
node --version
npm install --global yarn
yarn --version