Answers for "how to code in mac terminal"

26

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

setup code command mac

cat << EOF >> ~/.zprofile
# Add Visual Studio Code (code)
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
Posted by: Guest on January-11-2022

Code answers related to "how to code in mac terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language