Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Claude Terminal PanelNew to Visual Studio Code? Get it now.
Claude Terminal Panel

Claude Terminal Panel

0ly

|
16 installs
| (1) | Free
A dedicated terminal in the secondary panel for running Claude Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Terminal Panel

Install in VS Code Download VSIX

VS Code License: MIT Version

A dedicated terminal in the secondary sidebar for running AI coding assistants

Run Claude Code, Gemini CLI, OpenAI Codex, Aider, OpenCode and any other AI CLI tool directly from your VS Code sidebar.

Claude Terminal Panel Screenshot

Features

  • Dedicated Sidebar Terminal - Run any AI CLI tool directly from VS Code's activity bar, always accessible while you code
  • Multi-Tab Support - Run multiple terminal instances simultaneously with keyboard shortcuts for quick navigation
  • Works with Any AI Tool - Claude Code, Gemini CLI, OpenAI Codex, Aider, and more
  • VS Code Theme Integration - Full 256-color support with automatic theme synchronization
  • Dual Execution Modes - Choose between direct mode (cleaner output) or shell mode (full shell features)
  • Auto-run on Startup - Optionally start your AI assistant automatically when VS Code opens
  • Fully Configurable - Customize the command, arguments, shell, and environment variables
  • Quick Actions - Restart or clear the terminal with a single click

Requirements

  • VS Code 1.85.0 or higher
  • An AI CLI tool installed and accessible in your PATH (see Supported Tools)
  • Node.js - Required for native module compilation

Supported Tools

This extension works with any command-line AI assistant. Here are some popular options, with corrected installation instructions and additional top CLI AI coding agents based on current popularity in 2025-2026, including OpenCode:

Tool Command Installation
Claude Code claude npm install -g @anthropic-ai/claude-code
Gemini CLI gemini npm install -g @google/gemini-cli
Aider aider pip install aider-chat
Codex CLI codex npm install -g @openai/codex
GitHub Copilot CLI gh copilot gh extension install github/gh-copilot
Open Interpreter interpreter pip install open-interpreter
OpenCode opencode brew install opencode-ai/tap/opencode
Any CLI tool Custom Configure via settings

Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Cmd+Shift+X / Ctrl+Shift+X)
  3. Search for "Claude Terminal Panel"
  4. Click Install

From VSIX File

  1. Download the .vsix file from the Releases page
  2. Open VS Code
  3. Run Extensions: Install from VSIX... from the Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  4. Select the downloaded .vsix file

Build from Source

# Clone the repository
git clone https://github.com/nolikzero/claude-terminal-panel.git
cd claude-terminal-panel

# Install dependencies
npm install

# Build the extension
npm run compile

# Package the extension
npm run package

Usage

  1. Open the Sidebar - Click the Claude icon in the activity bar (secondary sidebar)
  2. Interact with your AI - Type your prompts and interact with your AI assistant directly in the terminal
  3. Use Quick Actions - Click the restart or clear icons in the view title bar

Commands

Command Description
Claude Terminal: Restart Restart the terminal session
Claude Terminal: Clear Clear the terminal output
Claude Terminal: New Tab Create a new terminal tab
Claude Terminal: Close Tab Close the current terminal tab
Claude Terminal: Next Tab Switch to the next tab
Claude Terminal: Previous Tab Switch to the previous tab

Access commands via the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) or the view title bar icons.

Keyboard Shortcuts

Action Windows/Linux macOS
New Tab Ctrl+Shift+`` | Cmd+Shift+``
Close Tab Ctrl+W Cmd+W
Next Tab Ctrl+PageDown Cmd+Alt+Right
Previous Tab Ctrl+PageUp Cmd+Alt+Left

Configuration

Configure the extension via VS Code Settings (Cmd+, / Ctrl+,):

Setting Type Default Description
claudeTerminal.command string "claude" The command to run in the terminal
claudeTerminal.args array [] Arguments to pass to the command
claudeTerminal.autoRun boolean true Automatically run the command when the terminal opens
claudeTerminal.shell string "" Custom shell to use (empty for system default)
claudeTerminal.env object {} Additional environment variables
claudeTerminal.directMode boolean true Run command directly without shell wrapper

Configuration Examples

Claude Code (default):

{
  "claudeTerminal.command": "claude",
  "claudeTerminal.args": []
}

Gemini CLI:

{
  "claudeTerminal.command": "gemini",
  "claudeTerminal.args": []
}

Aider:

{
  "claudeTerminal.command": "aider",
  "claudeTerminal.args": ["--model", "gpt-4"]
}

OpenAI Codex:

{
  "claudeTerminal.command": "codex",
  "claudeTerminal.args": []
}

GitHub Copilot CLI:

{
  "claudeTerminal.command": "gh",
  "claudeTerminal.args": ["copilot"]
}

Running with shell features:

{
  "claudeTerminal.directMode": false,
  "claudeTerminal.shell": "/bin/zsh"
}

Adding environment variables:

{
  "claudeTerminal.env": {
    "ANTHROPIC_API_KEY": "your-api-key",
    "OPENAI_API_KEY": "your-openai-key"
  }
}

Development

Prerequisites

  • Node.js 18+
  • npm

Setup

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Watch for changes
npm run watch

Running in Debug Mode

  1. Open this project in VS Code
  2. Press F5 to launch the Extension Development Host
  3. The extension will be active in the new VS Code window

Available Scripts

Script Description
npm run compile Compile the extension
npm run watch Watch mode for development
npm run lint Run ESLint
npm run lint:fix Fix ESLint issues
npm run format Format code with Prettier
npm run package Create VSIX package

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

For bugs and feature requests, please open an issue.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • xterm.js - The terminal emulator powering the UI
  • node-pty - Native pseudoterminal support

Made with care for the AI-assisted development community

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft