> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mossx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Detect and install

> Detect local Grok, Kimi, OpenCode, and Pi, and fix PATH issues. The extension does not install them for you.

Grok, Kimi, OpenCode, and Pi use local binaries. Open **Settings → Provider management → CLI**. The extension only checks whether the command exists and what version it is. **It will not run an install script on your computer.**

Credentials, login, and capability differences live on each engine page. Claude / Codex use SDKs. See those pages.

<Columns cols={2}>
  <Card title="Claude Code" href="/en/vscode/providers/claude">
    SDK, API key, local config, and login.
  </Card>

  <Card title="Codex" href="/en/vscode/providers/codex">
    SDK, `~/.codex/`, and sandbox.
  </Card>

  <Card title="Kimi" href="/en/vscode/providers/kimi">
    Local `kimi`.
  </Card>

  <Card title="Grok" href="/en/vscode/providers/grok">
    Local `grok`.
  </Card>

  <Card title="OpenCode" href="/en/vscode/providers/opencode">
    Local `opencode`.
  </Card>

  <Card title="Pi" href="/en/vscode/providers/pi">
    Local `pi`.
  </Card>
</Columns>

<img src="https://mintcdn.com/mossx-docs/kz4nt5KFSKzkAZwe/images/vscode/provider-cli.png?fit=max&auto=format&n=kz4nt5KFSKzkAZwe&q=85&s=5db25777376fb6428e73b4b9c0ae471e" alt="CLI detection page" width="100%" data-path="images/vscode/provider-cli.png" />

Gemini may appear in UI copy, but a standalone runtime is not shipped yet. This page does not include install steps.

## Workflow

<Steps>
  <Step title="Install in a system terminal">
    Open Terminal, iTerm, or PowerShell, and install with the official command on that engine's page.
  </Step>

  <Step title="Confirm the command works">
    Open a new terminal and run `grok --version`, `kimi --version`, `opencode --version`, or `pi --version`.
  </Step>

  <Step title="Detect again in CC GUI">
    Open **Settings → Provider management → CLI** and click **Detect again**.
  </Step>

  <Step title="Switch the provider in the input box">
    After the status becomes Installed, pick that provider at the bottom of the chat and ask a question.
  </Step>
</Steps>

Skip local CLIs if you only want Claude or Codex first.

## If detection fails

1. Open a new terminal and confirm the binary is on `PATH`
2. VS Code launched from the Dock / Start menu sometimes cannot see the terminal `PATH`. Add the install directory to the system environment variables, then restart VS Code
3. Point to the binary with an environment variable: `GROK_BIN`, `KIMI_BIN`, `OPENCODE_BIN`, `PI_BIN` (also accepts `*_PATH` / `*_CLI_PATH`)
4. Go back to the CLI page and click **Detect again**
5. Turn on **Settings → General → Behavior → Debug log**, then read the detection log in **Output → CC GUI**
