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安装成功,控制台 nvm 找不到命令,解决办法 #1

Closed
qufei1993 opened this issue Mar 29, 2018 · 0 comments
Closed

nvm安装成功,控制台 nvm 找不到命令,解决办法 #1

qufei1993 opened this issue Mar 29, 2018 · 0 comments

Comments

@qufei1993
Copy link
Owner

新建~/.bashrc, ~/.profile, or ~/.zshrc文件,保存以下内容,控制台执行命令 source ~/.bashrc 重新载入

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

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

1 participant