一:安装Nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
二:用Nvm安装Node.js
nvm install 5.1.0
nvm alias default 5.1.0
三:安装使用CNpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
四:查看版本信息
nvm -v
node -v
npm -v
安装nodejs步骤
最新推荐文章于 2025-03-11 08:43:20 发布