📅  最后修改于: 2022-03-11 14:50:36.680000             🧑  作者: Mango
git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
// edit .zshrc file and add to plugins
plugins+=(zsh-nvm)
// After the save, close the terminal re-open and install the version of node you want
nvm install 12
// Magically works!