Answers for "open visual code from the terminal in mac os"

27

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 .
Posted by: Guest on November-02-2020

Code answers related to "open visual code from the terminal in mac os"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language