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:

Integrating Google reCAPTCHA v3 in HTML Form with PHP

  What is Google reCAPTCHA v3? Google reCAPTCHA is a free service that helps protect websites from spam and abuse. reCAPTCHA v3 is the lates...