zsh commands not found code example
Example 1: zsh: command not found: npm
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
Example 2: zsh: command not found
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH