- Make VS Code available in the path. Press ⌘-SHIFT-P on a Mac and CTRL-SHIFT-P on Windows to open the command palette
- After the prompt > type path and select the command Shell command: Install ‚code‘ command in path. You only have to do that one time.
- Open a terminal and visit the folder you want to open in VS Code. Type
code .and the current folder will get opened in VS Code.