Skip to content

Instantly share code, notes, and snippets.

@bangonkali
Created August 9, 2016 15:03
Show Gist options
  • Save bangonkali/02ba0dc50aebca627fa68ff3a7325b8e to your computer and use it in GitHub Desktop.
Save bangonkali/02ba0dc50aebca627fa68ff3a7325b8e to your computer and use it in GitHub Desktop.
Creating a symlink for visual studio code on mac os x el capitan
@elitenomad
Copy link

elitenomad commented Mar 9, 2021

I think best way is to use command palette in the vscode

For this to work a symbolic link file named code must be created in the /usr/local/bin folder:

Start Visual Studio Code:

Open the Command Palette(⇧⌘P) and type shell command 
find the Shell Command: Install 'code' command in PATH command. Click Enter...
Adds a soft link to /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code and places it in /usr/local/bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment