共计 307 个字符,预计需要花费 1 分钟才能阅读完成。
brew 装置 nvm 后配置环境
# 终端输出
vim ~/.zshrc
export NVM_DIR="$HOME/.nvm"
[-s "/opt/homebrew/opt/nvm/nvm.sh"] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[-s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# 终端输出
source ~/.zshrc
nvm install 16.17.0
正文完