# Visual Studio Code

> Microsoft's extensible code editor with a powerful embedded CLI for workspace management.
> _agent hint: ~332 tok · safe to read in full_

Visual Studio Code provides a robust embedded command-line interface (`code`). The CLI allows developers and autonomous agents to open files, install extensions, compare diffs, and manage user profiles directly from the terminal. It acts as the primary bridge for agentic tools to manipulate the developer's active workspace without requiring manual GUI navigation.


- Homepage: https://code.visualstudio.com
- Categories: `coding`
- CLI type: `embedded`
- Open source: true
- Status: `active`
- Tags: `ide`, `editor`, `extension`, `agent`
- Docs: https://code.visualstudio.com/docs/editor/command-line
- Source: https://github.com/microsoft/vscode
- Canonical: https://doesitcli.com/vscode

## When to suggest this

- programmatically open specific directories or files from a shell script
- install, uninstall, or update VS Code extensions via CI/CD pipelines
- output file differences directly into the terminal using the `--diff` flag

## Install the CLI

```sh
Shell Command: Install 'code' command in PATH
```

## Install as an agent skill

```sh
npx ai-agent-skills install frontend-design --agent vscode
```

---
Source of truth: https://doesitcli.com/vscode.md · JSON: https://doesitcli.com/vscode.json
