Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>Grok CLI CopilotNew to Visual Studio Code? Get it now.
Grok CLI Copilot

Grok CLI Copilot

JacobTheJacobs

|
3 installs
| (0) | Free
AI coding copilot for VS Code powered by the local Grok CLI — chat, agentic edits, slash commands, file & folder context, @-mentions, image paste, and live sessions in a focused sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Grok CLI Copilot

Microsoft VS Code Marketplace VS Code GitHub TypeScript Node.js Tested with Vitest License: MIT

Not an official xAI product. Independent, community-built, and held together by TypeScript and reasonable intentions. It drives your local Grok CLI over stdio. Not affiliated with, endorsed by, or published by xAI — there is no official Grok extension from xAI for VS Code, which is roughly why this one exists. "Grok" is a trademark of xAI, borrowed here only to describe what this talks to.

A focused VS Code sidebar that puts the local Grok CLI where you already live — next to your code, instead of in yet another browser tab.

Grok CLI Copilot screenshot

Requirements

  • The Grok CLI, installed and signed in (it does the actual thinking)

Setup — log in to the Grok CLI first

This extension is a friendly face for the Grok CLI. No CLI, no face. Install and sign in before opening the sidebar, otherwise it sits there loading models with the patience of a saint and the results of a brick.

  1. Install the Grok CLI:

    • Windows (PowerShell): irm https://x.ai/cli/install.ps1 | iex
    • macOS / Linux: curl -fsSL https://x.ai/cli/install.sh | bash
  2. Log in (opens a browser):

    grok login
    
  3. Open VS Code → the Super Grok sidebar and start grokking. (If the CLI isn't on your PATH, point grok.cliPath at it in Settings.)

Install

  • Marketplace: open the listing

  • VSIX, for the impatient:

    npm run package
    code --install-extension grok-cli-copilot-*.vsix
    

Features

  • chat with the local Grok CLI without leaving your editor
  • session history and quick switching, because you will lose track
  • slash commands (with search) and effort control — dial the reasoning up or down
  • file/folder context, @ mentions, and image paste
  • inline generated media, thinking blocks, and permission cards (it asks before it touches anything)

Settings

  • grok.cliPath — where the CLI lives, for when auto-detect gives up
  • grok.defaultModel
  • grok.defaultEffort
  • grok.includeActiveFileByDefault
  • grok.useCtrlEnterToSend

License

MIT

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