- Realize that you are in zsh, which means you should be editing your profile in
.zshrc
. - Copy the offending lines from
.bash_profile
to.zsh
將原本放在 .bash_profile的指令,通通搬到 .zsh
重開 terminal,輸入 nvm -v ,測試成功!
.zshrc
..bash_profile
to .zsh
將原本放在 .bash_profile的指令,通通搬到 .zsh
重開 terminal,輸入 nvm -v ,測試成功!