[visual-studio-code] How to open Visual Studio Code from the command line on OSX?

?? The Easy Solution.

  1. Download, install and open Visual Studio Code.
  2. Open the Command Palette (? + ? + P on Mac) OR View ? Command Palette

3. Type shell command to find Shell Command: Install 'code' command in PATH command

  1. Install it and you're done

Here's a complimentary GIF.

Install Code on Command line

After that, you can use code or code . in the terminal.

code

Peace! ??

If you'd like to go a little bit further and learn a couple of great tips/tricks for using the VSCode CLI, I made a YouTube video on my workflows.