Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Codex CLI Launcher — Run OpenAI Codex in a Side TerminalNew to Visual Studio Code? Get it now.
Codex CLI Launcher — Run OpenAI Codex in a Side Terminal

Codex CLI Launcher — Run OpenAI Codex in a Side Terminal

Mikesoft

|
408 installs
| (0) | Free
| Sponsor
Launch the OpenAI Codex AI coding agent in a side terminal from your editor toolbar. Unofficial; works in VS Code, Cursor & Windsurf on Windows, macOS & Linux.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codex CLI Launcher

Visual Studio Marketplace Version Visual Studio Marketplace Installs Open VSX CI License: MIT Sponsor

Codex CLI Launcher is an unofficial VS Code extension that opens OpenAI Codex CLI in a new side terminal directly from the editor toolbar.

Works on Windows, macOS, and Linux where Codex CLI is available to the integrated terminal.

Current release: 0.1.7.

Disclaimer This extension is unofficial and is not affiliated with, endorsed by, sponsored by, or approved by OpenAI. "OpenAI", "Codex", and related names are trademarks of their respective owners.

✨ Want one launcher for every agent? Try Super CLI — a single sidebar that launches Claude Code, Codex, Copilot, Cursor, Grok, Kilo, Antigravity, OpenCode, and more. Install this launcher for Codex alone, or Super CLI for the whole set.

Features

  • Adds a launcher button to the editor title area
  • Uses local Marketplace and toolbar artwork packaged with the extension
  • Opens a fresh terminal beside the active editor on every launch
  • Uses the active editor workspace when available, with a fallback to the first open workspace folder
  • Runs a configurable Codex CLI command
  • Links to the official Codex CLI installation documentation when the default codex command is not available
  • Supports quoted Windows executable paths
  • Does not collect telemetry, analytics, or personal data

Requirements

  • VS Code ^1.103.0
  • Codex CLI available in the integrated terminal environment, or a working custom launch command configured in settings

Installation

  1. Install the extension from the VS Code Marketplace.
  2. Install Codex CLI by following the official Codex CLI installation documentation.
  3. Open any file in VS Code.
  4. Click the launcher button in the editor title.

Any equivalent install or launch method that makes codex available in your terminal also works.

Missing CLI

If the default codex command is missing, the extension offers to open the official Codex CLI installation documentation in your browser. The extension does not download installers, create installation scripts, or run package-manager installation commands.

How It Works

Each launch creates a new terminal beside the current editor and sends the configured command immediately. Existing terminals are not reused.

When possible, the launcher opens the terminal in the workspace folder of the active editor. If the active editor is outside the workspace, it falls back to the first workspace folder in the current VS Code window.

The launcher checks command availability when the terminal runs, so it behaves consistently with your normal integrated terminal environment.

Configuration

Setting Default Description
codexCliLauncher.cliCommand codex Command executed when the launcher button is clicked. The command is sent directly to the integrated terminal.
codexCliLauncher.terminalName Codex CLI Base label used for the created terminal.

Use the Command Palette to open the extension settings:

  • Codex CLI Launcher: Open Settings

Examples:

Default command:

"codexCliLauncher.cliCommand": "codex"

Windows executable path with spaces:

"codexCliLauncher.cliCommand": "\"C:\\Users\\You\\AppData\\Roaming\\npm\\codex.cmd\""

Troubleshooting

The terminal opens but codex is not recognized

Follow the official Codex CLI installation documentation, then confirm that codex works in a regular integrated terminal.

If your setup relies on shell initialization, restart VS Code after installation so new terminals inherit the updated environment.

Nothing happens after clicking the button

Check codexCliLauncher.cliCommand and verify that the same command works in a regular terminal.

Custom executable path on Windows

Quote executable paths that contain spaces. This is required for commands such as "C:\Users\You\AppData\Roaming\npm\codex.cmd".

Multi-root workspaces

The launcher prefers the workspace folder of the active editor. To control where Codex starts in a multi-root window, open a file from the target workspace before clicking the toolbar button.

Privacy

Codex CLI Launcher does not collect telemetry, analytics, or personal data.

All extension artwork is packaged locally in the VSIX. No external image assets are loaded at runtime.

Development

Local verification and packaging:

npm install
npm run check
npm run test:integration
npm run package

npm run package creates the .vsix file in the workspace root.

The repository includes unit tests, metadata checks, VS Code integration smoke tests, and CI coverage for Windows and Linux.

Support

Open a GitHub issue for bugs and feature requests. For support details, see SUPPORT.md.

Financial support for the independent maintainer is available through GitHub Sponsors: github.com/sponsors/TheStreamCode.

License

Released under the MIT License.

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