Skip to content

Instantly share code, notes, and snippets.

@jarek-przygodzki
Created June 8, 2018 18:20
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Add VS Code to PATH in macOS

To add code to PATH in macOS (in order to run code from the command line) we may to open up VS Code and open the 'Command Palette' with Shift+Command+P on Mac, or Shift+Control+P on Linux. In it, enter shell command and look for the Shell Command: Install 'code' command in PATH option. After doing this any new shell we open should be able to run code.

@aisnote
Copy link

aisnote commented Dec 22, 2022

but how about there is no admin privilege?

@mr-kollie
Copy link

Well that was of no help at all.

@dorisentomari
Copy link

👍

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