Visual Studio Code CLI
The code command opens editor workspaces and manages extension installations.
Open maintainer documentationWHAT YOU CAN DOOpen files, folders and diffs · Manage installed extensions
HOW IT WORKSLaunch & navigation
PLATFORMSWindows · macOS · Linux
DOCUMENTED AGENTSSee compatibility details
Documented capabilities
- Open files, folders and diffsDocumentation
- Manage installed extensionsDocumentation
Agent compatibility
| Agent | Compatibility | Basis |
|---|---|---|
| Claude Code | Not documented | The native interface is documented, but no setup for this coding agent is established by this source. |
| Codex | Not documented | The native interface is documented, but no setup for this coding agent is established by this source. |
| Cursor | Not documented | The native interface is documented, but no setup for this coding agent is established by this source. |
Setup route
Follow the linked maintainer documentation for installation, connection settings and supported versions.
Visual Studio Code with the code executable on PATH and any required extension or remote environment configured.
Limitations
The CLI handles launch, navigation and extension management; it does not provide general control of an open editor.