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
How about a simple Bash alias that you stick in your .bash_profile ?
alias code="open -a /Applications/Visual\ Studio\ Code.app"
To open the current directory: