When you install VS Code, it adds the code
command to your terminal.
β οΈ If you do not have access to the code
command, follow the setup instructions for your machine here.
β¨ Trick - Open VS Code from the Terminal
Use the CLI to launch a new VS Code window, or open a file in the current workspace.
command line
code . # current working dir
code /path/to/dir # path
code ~/.bash_profile # edit a root config file