Skip to content

About

Unofficial VS Code extension that opens the GitHub Copilot CLI in a side terminal from the editor toolbar

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Copilot CLI Launcher

Launch the standalone GitHub Copilot CLI coding agent from your editor toolbar in a fresh side terminal

CI License Visual Studio Marketplace

Copilot CLI Launcher is a small, privacy-first, unofficial VS Code extension that starts a user-configured GitHub Copilot CLI command in a fresh side terminal. It uses the active editor's workspace, never reuses terminals, and has no telemetry, installers, filesystem scanning, or background network behavior.

Disclaimer. This independent extension is unofficial and is not affiliated with, endorsed by, or sponsored by GitHub or Microsoft. See TRADEMARKS.md for trademark information.

Install

Install from the Visual Studio Marketplace or from Open VSX. You can also download the latest VSIX from GitHub releases.

VS Code users can install the Marketplace build from a terminal:

code --install-extension mikesoft.vscode-copilot-cli-launcher

GitHub Copilot CLI itself is a separate product. Install it by following GitHub's official installation documentation and confirm that copilot works in an integrated terminal.

Quick start

  1. Install GitHub Copilot CLI and make sure copilot runs in your integrated terminal.
  2. Install this extension and open a file in a trusted workspace.
  3. Click the launcher button in the editor title toolbar.

Each launch creates a new terminal beside the current editor and sends the configured command exactly once.

Features

  • Toolbar command in the editor title area
  • A new side terminal for every launch
  • Active-editor workspace resolution with multi-root fallback
  • Configurable CLI command and terminal label
  • Quoted executable-path support on Windows
  • Missing-command guidance through GitHub's official documentation
  • Workspace Trust enforcement and machine-scoped command configuration
  • No telemetry, analytics, installers, or background services

Requirements

  • VS Code ^1.103.0 or a compatible editor
  • A working copilot command in the integrated terminal environment, or a working custom launch command in settings
Environment Support Validation
VS Code ^1.103.0 Supported Integration smoke test in CI
Windows Supported Tested in CI; quoted executable paths are covered
Linux Supported Tested in CI
macOS Supported Platform-neutral implementation; not in the CI matrix
Cursor and Windsurf Compatible Uses the VS Code extension API; not in the CI matrix

Configuration

Setting Purpose Default
copilotCliLauncher.cliCommand Machine-scoped command executed when the launcher button is clicked; workspace values are ignored. copilot
copilotCliLauncher.terminalName Base label used for created terminals. Copilot CLI

Open the settings with Copilot CLI Launcher: Open Settings from the Command Palette.

Windows executable path with spaces:

"copilotCliLauncher.cliCommand": "\"C:\\Program Files\\GitHub Copilot\\copilot.exe\""

Privacy and security

The extension does not collect telemetry, analytics, or personal data. It uses the active editor's workspace folder as the terminal working directory, falling back to the first workspace folder when the editor is outside the workspace.

  • Workspace Trust: the launcher does not run the command until the current workspace is trusted.
  • Command source: copilotCliLauncher.cliCommand uses only its default or user/machine value; workspace-controlled values are ignored.
  • Terminal output: diagnostic output is bounded, kept in memory, and never persisted.
  • Downloads: the extension does not download software, create installer files, or run installation commands.
  • Background activity: no filesystem scanning, automatic downloads, background services, or extension-initiated network checks.

The configured command runs inside the selected workspace, so review Workspace Trust before launching Copilot CLI in an unfamiliar repository. The separate Copilot CLI process remains subject to GitHub's own behavior and terms. See SECURITY.md for vulnerability reporting.

Troubleshooting

On Windows, an older GitHub Copilot Chat bootstrapper can take precedence over the real copilot executable and hang. The launcher warns before a potentially affected launch because it cannot inspect your PATH without weakening its local-only design. The most reliable mitigation is to set copilotCliLauncher.cliCommand to the full, quoted path of the real executable. Use Get-Command copilot -All in PowerShell or where copilot to inspect command resolution.

The terminal opens but copilot is not found

Follow GitHub's official installation documentation, then verify the command in a regular terminal and restart VS Code so new terminals inherit the updated environment.

Nothing happens after clicking the button

Confirm that the workspace is trusted, check copilotCliLauncher.cliCommand, and verify that the same command works in a regular terminal. If the path contains spaces, quote the executable path.

Multi-root workspaces

The launcher uses the workspace folder containing the active editor. To select a starting folder in a multi-root window, open a file from the target workspace before clicking the launcher button.

For symptoms, mitigation examples, missing-command help, and multi-root behavior, see the complete troubleshooting guide.

Development

Requirements: Node.js 22, npm 11.16.0, and the committed package-lock.json. npm install scripts are allowed only when their exact package version appears in allowScripts.

git clone https://github.com/TheStreamCode/github-copilot-cli-launcher.git
cd github-copilot-cli-launcher
npm ci --strict-allow-scripts
npm run check
npm run audit

npm run check performs a clean compile, unit and metadata tests, a VS Code integration smoke test, and package-content validation. npm run package creates the .vsix release candidate. See docs/RELEASING.md for the maintainer checklist.

Support

Open a GitHub issue for bugs and feature requests, or read SUPPORT.md for reporting guidance and contact options. Maintenance can be supported through GitHub Sponsors.

Contributing

See CONTRIBUTING.md. Pull requests must pass the required CI checks.

License

MIT License — see LICENSE.


Maintained by Michael Gasperini (Mikesoft). If this project is useful to you, consider sponsoring its maintenance.

About

Unofficial VS Code extension that opens the GitHub Copilot CLI in a side terminal from the editor toolbar

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages