zsh: command not found: code 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
source ~/.bash_profile
Example 3: zsh: command not found
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
Example 4: zsh: command not found: nvm
# NVM Stuff
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
Example 5: command code not found mac
sudo ln -fs "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" /usr/local/bin/
Example 6: zsh: command not found: code
1. Make sure you drag Visual Studio Code app into the -Applications- folder
2. Next, open Visual Studio Code
Open the Command Palette via (⇧⌘P) and type shell command to find the Shell Command:
> Install 'code' command in PATH** command.