安装 Node-version-manager 来管理和使用 Node.js 的版本
// install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
// 列出所有可安装的 node 版本
nvm ls-remote
// 安装指定版本的 node
nvm install {version_number}
// install nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
// 列出所有可安装的 node 版本
nvm ls-remote
// 安装指定版本的 node
nvm install {version_number}