Answers for "how update nodejs version in ubountu"

31

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
14

use npm to update packages to latest version

npm i -g npm-check-updates
ncu -u
npm install
Posted by: Guest on February-04-2020
0

rollback to previous php version in linux

sudo rm /etc/alternatives/php; sudo ln -s /usr/bin/php5.6 /etc/alternatives/php;
Posted by: Guest on May-10-2020
1

how to change node version

nvm use --delete-prefix $NODE_VERSION

example:
nvm use --delete-prefix v8.9.4
Posted by: Guest on April-27-2020

Code answers related to "how update nodejs version in ubountu"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language