$ sudo apt-get update

$ sudo apt-get install build-essential libssl-dev

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh

$ source ~/.bashrc

$ nvm install 10.4.1

 

$ node -v
$ node --version

$ npm --version

 

// node default version

$ nvm alias default 6.11.5

 

+ Recent posts