# curl $ sudo apt install curl
# Latest release curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - # LTS release curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - $ node -v $ npm -v
$ sudo apt install nodejs $ sudo npm install -g npm $ node -v $ npm -v
https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=nvmnode
http://www.cnblogs.com/xgqfrms/p/5881799.htmllinux
https://github.com/nvm-sh/nvmgit
OKgithub
https://github.com/nvm-sh/nvm#installation-and-updateweb
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash $ command -v nvm # v12.1.0 $ nvm install node # LTS v10.15.3 $ nvm install 10.15.3 $ nvm ls-remote $ nvm use node # OR $ nvm run node --version $ node -v $ npm -v
https://github.com/coreybutler/nvm-windowsnpm
```ubuntu
set
NODE_EN
windows
bugbash