Answers for "mac os run vscode from commandline"

8

open vscode from terminal mac

open Visual Studio Code 
press Cmd+shift+p
search for ``Shell command: install 'code' command in PATH.`` and click it
works in terminal
#Open Visual Studio Code by command
$ code .
Posted by: Guest on March-30-2021
0

setup commandline vscode in mac

cat << EOF >> ~/.bash_profile
# Add Visual Studio Code (code)
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
Posted by: Guest on September-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language