How To Open VS Code From Terminal with Code Dot
November 25, 2025 · Mike Murphy
In this tutorial, you will learn how to open any directory from the Terminal in Visual Studio Code (VS Code) using Code + Period.
Description
In this tutorial, you will learn how to open any directory from the Terminal in Visual Studio Code (VS Code) using Code + Period.
Download VS Code:
https://code.visualstudio.com/
Keyboard Shortcuts:
Code . (Code + Period)
Show All Commands (Shift + Cmd + P)
Show All Commands:
Install ‘Code’ command in PATH
In this tutorial, you’ll learn:
- What is Code + Dot?
- How To Show All Commands (Shift + Cmd + P)
- How to install Code Command in VS Code
- How to uninstall Code Command in VS Code
- How to Open Directories from Terminal in VS Code
- Helpful Terminal Commands
——————
——————
✅ Chapters:
00:00 Intro: About The Tutorial
00:17 What is Code Dot?
00:29 Is Code Dot Enabled?
00:58 Show All Commands (Shift + Cmd + P)
01:14 Install Code Command
01:42 Open Directory in Terminal
01:57 Helpful Terminal Commands
02:30 Open Folder in VS Code (Old Way)
02:58 Open Folder in VS Code (Using Code Dot)
03:16 Uninstall Code Command
03:39 Reinstall Code Command
🪜 How To Open VS Code Using Code + Dot in Terminal:
- Confirm Code Dot is Enabled
- Open Project Directory in Terminal
- Enter Code + . (if VS Code opens, then it is enabled)
- Show All Commands (Shift + Cmd + P)
- Click ’Install ‘Code’ command in PATH’ to install Code + Dot
- Open directory in Terminal
- Press Code + Period and VS Code will open