Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Terminal LaunchersNew to Visual Studio Code? Get it now.
Terminal Launchers

Terminal Launchers

Muhammet Ali Songur

|
2 installs
| (0) | Free
Open terminals and AI coding CLIs (Claude, Codex, Gemini and more) beside your editor, manage launchers, and open repeatable terminal layouts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Terminal Launchers

Open terminals beside your editor with one click, keep a list of the commands you start every day, and open a set of them at once.

Terminal Launchers is an independent extension. It is not affiliated with, endorsed by or supported by Anthropic, OpenAI, Google, GitHub or any other AI provider. The assistant buttons start command-line tools such as claude, codex or gemini that you have installed yourself. Their logos identify those tools and belong to their owners; see THIRD_PARTY_NOTICES.md.

A terminal opened beside a TypeScript file, with the launcher buttons in the editor title bar

Quick start

  1. Open a folder and any file, or the Welcome page.
  2. Click a button in the editor title bar:
    • Open Claude (Claude logo) runs claude.
    • Open Codex (Codex logo) runs codex.
    • Open Terminal (terminal icon) opens your default shell.
    • Open Launcher… (list icon) lists every enabled launcher, your layouts and Manage Launchers.
  3. The terminal opens as an editor in the group to the right. The file you were reading stays where it was.

Nothing runs when the extension is installed, activated, a workspace opens, settings change or a profile is imported. Every launch starts with your click.

What you see in the toolbar

VS Code's editor title bar only accepts actions that are declared in the extension's manifest. An extension cannot add a separate button with its own icon for each launcher you create. Terminal Launchers therefore provides:

  • a logo button for each AI assistant in your list. Claude and Codex are listed by default. Add others with Manage Launchers → Add AI Assistant…:

    Assistant Command
    Claude Code claude
    Codex CLI codex
    Gemini CLI gemini
    GitHub Copilot CLI copilot
    Cursor CLI cursor-agent
    opencode opencode
    Qwen Code qwen
    Amp amp
    Kimi CLI kimi
  • a Terminal button for your default shell;

  • one Open Launcher… button for everything else, including your own launchers and layouts. To hide it, turn off terminalLaunchers.showLauncherButton; the command stays in the Command Palette;

  • Manage Launchers… in the title bar's … menu and in the Command Palette.

Hiding or deleting a launcher removes its button. Buttons keep this fixed order. If the title bar is crowded, VS Code moves actions into its … menu. With no editor open, use the Command Palette (Terminal Launchers: Open Launcher…).

The Open Launcher picker listing presets, a custom Dev Server launcher, Open Layout and Manage Launchers

Managing launchers

Run Manage Launchers… to edit everything without touching JSON. The manager uses VS Code's own pickers and input boxes, so it follows your theme and works with the keyboard and screen readers.

Manage Launchers listing launchers, layouts and profile actions

For each launcher you can set:

Field Options
Name Shown on the picker and the terminal tab
Command type Default shell: your configured default terminal profile. Shell command: one command line typed into a new default shell, so pipes, &&, aliases and $VAR work as in your shell. Executable with arguments: a program started directly, without a shell, with each argument passed literally
Location Beside the current editor (default), current editor group, terminal panel
Working directory Active file's workspace folder (default), a workspace folder you choose at launch, the active file's directory, or a custom absolute path
On launch Create a new terminal, or focus a terminal this launcher already opened
Icon and color A built-in VS Code icon and a terminal ANSI color, or your own image (see below)
Visibility Hide a launcher, including the built-in ones, without deleting it

You can also duplicate, reorder and delete launchers. The manager validates every field before saving and explains what to change.

Editing the Claude launcher field by field

Your own icon images

Choose Icon → Choose Image File… to use any PNG, SVG, JPEG, GIF or WebP up to 16 KiB as the launcher's icon on terminal tabs and in the picker. A 64×64 PNG or an SVG logo fits easily. Use this for tools that are not in the assistant list. The assistants already ship with their logos, which you can choose from Assistant logos in the same list.

The image is copied into the launcher's settings as embedded data, not stored as a file path. Settings Sync and profile exports therefore carry it to your other machines, where it appears without any extra files. Each machine writes the image once into the extension's own storage folder. If the image cannot be used, the launcher falls back to its built-in icon.

Where to find logos. Where to Find Logos… in the icon list opens one of these pages in your browser:

  • OpenAI brand assets
  • Simple Icons
  • LobeHub Icons

Download an SVG, or a small PNG, and choose it once. Logos are trademarks of their owners, so follow each brand's usage terms.

Toolbar buttons cannot use your images, because VS Code requires toolbar icons to be part of the published extension. Custom launchers are opened from Open Launcher…, which shows your image.

A terminal tab showing an image icon chosen in Manage Launchers

Examples

Goal Type Command / executable Arguments
Start a dev server in the panel Shell command npm run dev —
Tail a log Shell command tail -f logs/app.log —
Python REPL Executable python -q
Docker shell Executable docker compose, exec, app, sh

Layouts

A layout opens several launchers in a fixed order and then focuses the one you pick, for example Claude + Codex or Terminal + Dev Server. Create and edit layouts in Manage Launchers and open them with Open Layout….

  • Each terminal is created in turn after the previous one reports that it has started.
  • Clicking the same layout again while it is opening does nothing, so you never get a duplicate set.
  • Opening a layout runs its commands again. It does not restore running processes, scrollback or AI conversation history.

Reuse and safety

  • Reuse only applies to terminals this extension opened in the current window. A terminal you opened yourself is never reused, even if it has the same name.
  • Reuse focuses the existing terminal. It never types a second command into it, because an interactive program such as claude may still be running there.
  • If you close an owned terminal, the next launch creates a new one.
  • If an assistant's CLI, such as claude, codex or gemini, is not on the terminal host's PATH, you get a message with two choices: Installation guide, which opens that tool's official setup page, and Try anyway. The extension never installs tools or changes PATH.

Settings, Settings Sync and workspaces

All launchers and layouts are stored in one setting, terminalLaunchers.profile.

  • User profile: stored in your user settings. It travels with Settings Sync if you sync settings.
  • Workspace profile: stored in .vscode/settings.json or the .code-workspace file. In a trusted workspace it replaces the user profile entirely; the two lists are not merged. Use Edit Workspace Profile in the manager to create one and Remove Workspace Override to return to the user profile.
  • With no profile, the built-in presets are used.

Settings Sync carries commands, settings and embedded icon images, not tools. On a new machine, install the CLIs you use and check custom directories, which are machine-specific. Do not put tokens or passwords in commands; reference environment variables instead ($API_TOKEN, %API_TOKEN%).

Import and export

Export Profile… writes a versioned JSON file. Import Profile… validates a file (up to 1 MiB), shows every launcher and layout for review, and only replaces the selected profile after you confirm. Importing never runs anything. Unknown fields, duplicate IDs, broken layout references and unsupported versions are rejected with the field name; nothing is partially applied. Version 0 profiles from early builds are migrated in memory.

{
  "version": 1,
  "launchers": [
    {
      "id": "dev-server", "name": "Dev Server", "enabled": true,
      "mode": "shell", "command": "npm run dev", "args": [],
      "location": "panel", "reuse": true, "cwd": "workspace", "directory": "",
      "icon": "server", "iconImage": "", "color": "terminal.ansiGreen"
    }
  ],
  "layouts": []
}

Workspace Trust

Terminal Launchers is disabled in Restricted Mode: its buttons and commands are unavailable until you trust the workspace. A trusted workspace's settings can define commands, so review .vscode/settings.json in repositories you do not know. A preset whose command differs from the built-in one asks for confirmation and shows the command before running it.

VS Code variables such as ${workspaceFolder} are not allowed in executable paths, arguments or custom directories, so folder names are never substituted into a command. Shell command lines are passed to your shell unchanged.

Supported environments

Environment Status
VS Code desktop 1.96 or later, Windows Supported; verified in a real VS Code window
VS Code desktop, macOS and Linux Supported; covered by automated unit tests in CI, not yet verified in a real VS Code window
Remote SSH, WSL, Dev Containers Supported by design: the extension runs on the remote host, and paths and PATH belong to that host. Not yet verified in a real session
VS Code for the Web (vscode.dev, github.dev) Not supported. No browser build is provided
Virtual workspaces Not supported

Troubleshooting

  • No buttons in the title bar: open a file or the Welcome page, trust the workspace, and check the title bar's … menu. Hidden presets can be enabled again in Manage Launchers.
  • "Could not find claude" (or another CLI): install the CLI on the machine where the terminal runs (the remote host in remote windows), then restart VS Code so it sees the new PATH. Try anyway helps when your shell profile adds the tool to PATH.
  • "The launcher profile changed": settings changed while a picker was open. Open the picker again to review the current command.
  • Working directory errors: the active file's folder may be gone, or a custom path may not exist on the terminal host. Choose another directory type or path.
  • Settings are invalid: the manager shows the first problem with its field name. Fix it in settings JSON or use Restore Presets… / Remove Workspace Override….

Privacy

No telemetry, analytics, advertising, accounts or network requests. Profiles stay in your VS Code settings and the files you export.

License

MIT. The extension logo is original. Assistant logos come from LobeHub Icons (MIT) and remain trademarks of their owners; see THIRD_PARTY_NOTICES.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft