Skip to content

Install Nvm, Npm, Yarn - Setting up Node on Ubuntu

Here's how to install and setup Node on Ubuntu.

Sources :

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

Comments