I\'d like to run / open Visual Studio Code from the Mac OSX Terminal by running this command code .. I found instructions here:
code .
https://code.visualstud
Try this one
Open Visual Studio Code and press Command + Shift + P or F1 then type Shell in command palette now you are able to find this option like Shell Command : Install code in PATH from suggested list in command palette. Select that options.
Shell
Shell Command : Install code in PATH
That's it.
Now open your terminal type.
$ code .