Answers for "zsh: command not found: npm"

1

zsh: command not found: nvm

brew reinstall nvm
Posted by: Guest on August-04-2020
-1

zsh: command not found: nvm

# NVM Stuff
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
Posted by: Guest on August-04-2020
4

zsh: command not found: npm

export NVM_DIR=~/.nvm
 [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
Posted by: Guest on July-22-2020
0

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
Posted by: Guest on January-04-2021
0

zsh: command not found

PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
Posted by: Guest on August-02-2020
0

zsh: command not found: node

open ~/.zshrc
// add the following to the beginning of the file:
source /Users/YOUUSERNAME/.bash_profile
// restart terminal
Posted by: Guest on October-12-2021

Code answers related to "zsh: command not found: npm"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language