nvm快速入门
下载并配置
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bashexport NVM_NODEJS_ORG_MIRROR=http://npm.taobao.org/mirrors/nodesource ~/.bash_profilecommand -v nvm(
cd "$NVM_DIR"
git fetch --tags origin
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`
) && \. "$NVM_DIR/nvm.sh"基本用法
npm 镜像
fad
参考资料
最后更新于