macbook terminal code . vs code command code example
Example: open visual studio code from terminal mac
#Add Bash alias in .bash_profile ?
$ alias code="open -a /Applications/Visual\ Studio\ Code.app"
#Open Visual Studio Code by command
$ code .
#Add Bash alias in .bash_profile ?
$ alias code="open -a /Applications/Visual\ Studio\ Code.app"
#Open Visual Studio Code by command
$ code .