📜  如何安装 nvm - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:14.738000             🧑  作者: Mango

代码示例6
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