December 7, 2022

Steps to update or change NodeJS and NPM versions.


 


1. First let's try to change NPM package version.

- Check current NPM version: npm view npm version

- Using this command you can update npm to latest version: npm i -g npm


2. For Node version best way to manage version use NVM.

- nvm install <Node version> 

- nvm list

- nvm use <Node version>


3. To update NPM:

- npm install -g npm


Enjoy!

3 comments:

1980s Photo Prompts: Easy Online Copy & Paste

Are you on a quest to enhance your photography projects with a touch of nostalgic flair? Look no further than 1980s photo prompts. These car...