Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对于安装nvm的建议 #142

Open
sumlunmao opened this issue Sep 13, 2017 · 1 comment
Open

对于安装nvm的建议 #142

sumlunmao opened this issue Sep 13, 2017 · 1 comment

Comments

@sumlunmao
Copy link

第一步:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.2/install.sh | bash
第二步:
nvm
会提示:$ command not found
建议:在第二步之间加以下两步。
第1.1步
export NVM_DIR="$HOME/.nvm"
第1.2步
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

@tolerious
Copy link

貌似是它下载结束后会在terminal中输出提示让你把那段代码拷进.zshrc或者.bash_profile文件中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants