xxxxxxxxxx
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
xxxxxxxxxx
sudo ln -fs "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" /usr/local/bin/
xxxxxxxxxx
Open the Command Palette via (⇧⌘P) and type
shell command to find the Shell Command:
> Install 'code' command in PATH** command