VS Code
How to open files in VS Code Editor from terminal/command line
- Launch VS Code.
- Command + Shift + P to open the Command Palette.
- Type
shell command
in command palette, a drop down list will display. - From the displayed list, find the Shell Command:
Install 'code' command in PATH
and select to install it. - Restart your terminal.