downgrade node version
$ npm install -g n
$ n 6.10.3
downgrade node version
$ npm install -g n
$ n 6.10.3
Centos install update downgrade nodejs
Install Node.js and npm using NVM:
- Install NVM:
sudo apt install curl
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
nvm –version (if don't work, logout or change user and retry this command)
- Install node
nvm install node
node –version
To install a specific version of Node, type in "nvm install" and the number of the version.
For example: "nvm install 10.1.0"
To switch to another version of Node.js you have already installed, use the command:
nvm use 10.16.0
To install Node.js development tools and libraries, use the command:
sudo yum install gcc g++ make
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us