📌  相关文章
📜  zsh:找不到命令 - Shell-Bash 代码示例

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

代码示例3
# first make sure where is the npm installed
$ which npm
# output: /home/sallo/.nvm/versions/node/v14.15.3/bin/npm

# now open the file ~/.zshrc and add the below line at the end.
# change the path in cause you have different

export PATH=$HOME/.nvm/versions/node/v14.15.3/bin/npm:$PATH

# save the file and open new terminal