Answers for "why wont code . work in the terminal mac?"

23

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
1

command code not found mac

sudo ln -fs "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" /usr/local/bin/
Posted by: Guest on January-07-2021

Code answers related to "why wont code . work in the terminal mac?"

Browse Popular Code Answers by Language