using npm in zsh ubuntu code example Example: zsh: command not found: npm export NVM_DIR=~/.nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"