code de commande non trouvé mac
sudo ln -fs "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" /usr/local/bin/
Lebohang Mokoena
sudo ln -fs "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" /usr/local/bin/
# NVM Stuff
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
PATH=/bin:/usr/bin:/usr/local/bin:${PATH}
export PATH
ps -A | grep Visual\ Studio\ Code | awk '{print $1}' | xargs kill -9
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.