zsh 宝塔 nvm 配置

编辑 ~/.zshrc
vim ~/.zshrc
添加内容, 注: /www/server/nvm 为 nvm 目录
export NVM_DIR="/www/server/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

你可能感兴趣的:(zsh 宝塔 nvm 配置)