Mac安裝不到nvm,安裝後用 command nvm -v,沒回應。
在$ open ~/.bashrc加上 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
後,用 command nvm -v 就變成 zsh: command not found: nvm