In this categoryVS Code Setup ยท 25
- How to Set Up GitHub Copilot in VS CodeStart
- How to Use Copilot Chat and Inline Chat in VS Code
- How to Install and Manage Extensions in VS Code
- How to Install the Continue Extension in VS Code
- How to Install Cline, the Autonomous Coding Agent, in VS Code
- How to Configure Continue with an API Model
- How to Set Up an AI Assistant in VS Code
- How to Run Continue with a Local Model Using Ollama
- How to Run Copilot, Continue, and Cline Together Without Conflicts
- How to Add an MCP Server to Cline
- How to Fix AI Suggestions Not Appearing in VS Code
- How to Install and Trust an AI Extension in VS Code
- How to Install a VS Code Extension from the Command Line
- How to Create a launch.json to Debug a Node.js App in VS Code
- How to Initialize a Git Repository in VS Code
- How to Stage, Commit, and Push Changes from VS Code
- How to Debug a Browser App in VS Code with the Built-in Chrome Debugger
- How to Resolve Git Merge Conflicts in VS Code
- How to Run Build and Dev Commands with tasks.json in VS Code
- How to Add Environment Variables to a VS Code Debug Configuration
How to Open and Use the Integrated Terminal in VS Code
Open the built-in terminal in VS Code, run commands without leaving the editor, and manage multiple shells side by side.
When you are coding with an AI assistant you constantly switch between editing files and running commands: install a package, start a dev server, run a test. The integrated terminal in VS Code lets you do all of that inside the same window, in the same folder as your project, so you never lose context. This guide shows how to open it, run commands, and juggle more than one shell.
What you need
- VS Code installed (any recent version)
- A project folder open in VS Code
- A few minutes
Step 1: Open the terminal panel
Press Ctrl+` (the backtick key, usually below Escape) on Windows and Linux, or Cmd+` on macOS. A panel opens along the bottom of the window with a shell prompt. You can also use the menu: View, then Terminal. The terminal always starts in your open project folder, so paths are relative to your code.
Step 2: Run a command
Click into the terminal and type any command, exactly as you would in a standalone terminal. Try checking your Node version, then installing dependencies for the project.
Step 3: Split the terminal
It is common to want one shell running a dev server and another free for git or installs. Click the split icon in the terminal toolbar, or press Ctrl+Shift+5 (Cmd+\ on macOS). The panel divides into two side-by-side shells. Click either side to focus it.
Step 4: Open more terminals
Use the plus icon in the top-right of the terminal panel to create a new terminal instance. Each one appears in a dropdown list on the right so you can name and switch between them. Closing a tab with the trash icon kills that shell.
Result
You can now open the terminal with one shortcut, run commands in your project folder, and split or add terminals so a server and your scratch commands live side by side without ever leaving the editor.
Watch related tutorials
11:32
12:38
14:09
17:53
15:00
12:00New guides in your inbox
Fresh step-by-step how-to guides as we publish them. One email a week, no more.