zsh: command not found: npm
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
zsh: command not found: npm
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
zsh: command not found: npm
# 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
zsh: command not found
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us