赞
踩
我用的gitee极速下载
git clone https://gitee.com/mirrors/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`
在用户的目录下新增文件== .zshrc ==
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source ~/.zshrc
nvm -v
试试有版本号输出,成功了
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。