Answers for "how do i update node js"

51

update nodejs

//First, clear the npm cache:
	npm cache clean -f

//Install n, Node’s version manager:
	npm install -g n
    
//With the n module installed, you can use it to:
	Install the latest stable version: n stable
	Install the latest release: n latest
Posted by: Guest on April-30-2020
0

upgrade or update nodejs

sudo apt-get install --reinstall nodejs-legacy     # fix /usr/bin/node
Posted by: Guest on April-21-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language