how to open in vs code from terminal code example
Example 1: shortcut to open vscode from terminal
path code .
Example 2: mac open vs code from terminal
$ alias code="open -a /Applications/Visual\ Studio\ Code.app"
#Open Visual Studio Code by command
$ code .