Nodejs setup with NVM
Post
Cancel

Nodejs setup with NVM

NVM (Node Version Manager) installation [here] (https://github.com/nvm-sh/nvm#install–update-script)

Use NVM

List of available Node version

1
nvm ls-remote

Install LTS (Long Term Support) Nodejs

1
nvm install --lts

Start using LTS (Long Term Support) Nodejs

1
nvm use --lts

Check current node version

1
node -v

Check current npm version

1
npm -v

Install yarn

1
npm install --global yarn

Know more about available NVM flags [here] (https://ostechnix.com/install-node-js-linux/)

This post is licensed under CC BY 4.0 by the author.