Use Claude Code in VS Code changedvs-code
Nearest release: v2.1.319, published 2 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 6 Nov 2026 03:58 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 6 Nov 2026 04:07 UTC.
Upstream edited
Recorded here
Lines+12added
Lines−3removed
From line
814
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits75to this page, all time
The whole hunk
from line 814, old and new numbered
/
from line 814
814814
815815### Run CLI in VS Code
816816
817To use the CLI while staying in VS Code, press `` Ctrl+` `` on Windows/Linux or `` Cmd+` `` on Mac to open the integrated terminal, then run `claude`. Starting `claude` doesn't install the extension. Without it, `/ide` in the integrated terminal reports "No available IDEs detected" and `/status` shows the IDE as "Not connected".
817To use the CLI while staying in VS Code, press `` Ctrl+` `` on Windows/Linux or `` Cmd+` `` on Mac to open the integrated terminal, then run `claude`.
818818
819819To get features like diff viewing and diagnostic sharing, connect the CLI to the extension from the integrated terminal or an external terminal:
820820
821* **Integrated terminal**: [install the extension](#install-the-extension), then start `claude`. The CLI connects automatically.
821* **Integrated terminal**: [install the extension](#install-the-extension), then start `claude`. The CLI connects automatically. Claude Code v2.1.318 or later doesn't install the extension for you, so until you install it, `/ide` reports "No available IDEs detected" and `/status` shows the IDE as "Not connected".
822822* **External terminal**: run `/ide` inside Claude Code to connect to VS Code. If VS Code is running without the extension, `/ide` installs it, unless you turned off [`autoInstallIdeExtension`](https://code.claude.com/docs/en/settings-reference#autoinstallideextension).
823823
824824Installing the extension does not put `claude` on your shell PATH. The extension bundles a private copy of the CLI for its chat panel, but typing `claude` in a terminal requires the [standalone CLI install](https://code.claude.com/docs/en/setup.md). Run the install once and the commands on this page, including `claude mcp add` and `claude --resume`, work in any terminal. If `claude` is still not found after installing, [verify your PATH](https://code.claude.com/docs/en/troubleshoot-install.md#verify-your-path).
from line 1087
108710872. Search for "Claude Code"
108810883. Click **Uninstall**
10891089
1090The extension stays uninstalled when you start `claude`. If you run `/ide` from an external terminal while VS Code is running, Claude Code reinstalls it. To stop that, set [`autoInstallIdeExtension`](https://code.claude.com/docs/en/settings-reference#autoinstallideextension) to `false` in `~/.claude.json`, or turn off **Auto-install IDE extension** in `/config` from the integrated terminal. You can also set the [`CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL`](https://code.claude.com/docs/en/env-vars) environment variable to `1`.
1090If you do either of these after uninstalling, the extension comes back:
1091
1092* Run `/ide` from an external terminal while VS Code is running
1093* Start `claude` in the integrated terminal on a Claude Code version before v2.1.318
1094
1095To keep the extension from coming back, do one of these, then uninstall it again if it already came back:
1096
1097* Set [`autoInstallIdeExtension`](https://code.claude.com/docs/en/settings-reference#autoinstallideextension) to `false` in `~/.claude.json`
1098* Set [`CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL`](https://code.claude.com/docs/en/env-vars#variables) to `1` under `env` in a [settings file](https://code.claude.com/docs/en/env-vars.md#in-settings-files)
1099* In the integrated terminal, turn off **Auto-install IDE extension** in `/config`
10911100
10921101To also remove extension data and reset all settings, delete the extension's storage directory for your platform.
10931102
No line in this hunk matches that.