zsh code . command not found code example
Example 1: code . not working mac
ps -A | grep Visual\ Studio\ Code | awk '{print $1}' | xargs kill -9
Example 2: 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.