Установка обновления Centos nodejs 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
Reedy.exe