vscode not opening mac code example
Example: vscode command does not work on mac
If you want to add it permanently:
Add this to your ~/.bash_profile,
or to ~/.zshrc if you are running MacOS Catalina or later.
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"