# Install code-cli

Command-line interface built-in Visual Studio Code. Version 1.123 via Homebrew; verified 2026-06-03.

## Install

```sh
sudo av install brew:code-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install code-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#code
```

  Evidence: nixpkgs package indexes: pkgs/by-name/co/code/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S code
```

  Evidence: Arch Linux sync databases: code from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package Facts

- **Package key:** brew:code-cli
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/code-cli>
- **Version:** 1.123
- **Source summary:** Command-line interface built-in Visual Studio Code
- **Homepage:** <https://github.com/microsoft/vscode>
- **Repository:** <https://github.com/microsoft/vscode>
- **Upstream docs:** <https://code.visualstudio.com/docs/editor/command-line>
- **License:** MIT
- **Source archive:** <https://github.com/microsoft/vscode/archive/refs/tags/1.123.tar.gz>
- **Last updated:** 2026-06-03T18:42:29Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- code (cli)
- code (alias)

## Dependencies

- openssl@4

## Build Dependencies

- pkgconf
- rust

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.123
- Package-manager updated: 2026-06-03
- Local data status: ok
- Upstream repository: https://github.com/microsoft/vscode
- Upstream latest detected: 1.123 (current)

## 安全说明

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** code-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - code: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/co/code/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - code - 1.121.0-1: installed executable or alias match | Arch Linux sync databases: code from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Open Source build of Visual Studio Code (vscode) editor | https://github.com/microsoft/vscode


## Related Links

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openssl@4](https://www.automicvault.com/zh-hans/pkg/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [neovim](https://www.automicvault.com/zh-hans/pkg/brew/neovim/) - Shares av.db curated category or tags: cli, developer-tools, editor.
- [neovide](https://www.automicvault.com/zh-hans/pkg/brew/neovide/) - Shares av.db curated category or tags: cli, developer-tools, editor.
- [neovim-qt](https://www.automicvault.com/zh-hans/pkg/brew/neovim-qt/) - Shares av.db curated category or tags: cli, developer-tools, editor.
- [vsce](https://www.automicvault.com/zh-hans/pkg/brew/vsce/) - Shares av.db curated category or tags: cli, developer-tools, extensions, vscode.
- [neovim-remote](https://www.automicvault.com/zh-hans/pkg/brew/neovim-remote/) - Shares av.db curated category or tags: cli, developer-tools, editor.
- [vtsls](https://www.automicvault.com/zh-hans/pkg/brew/vtsls/) - Shares av.db curated category or tags: cli, developer-tools, vscode.
- [hexhog](https://www.automicvault.com/zh-hans/pkg/brew/hexhog/) - Shares av.db curated category or tags: cli, developer-tools, editor.
- [hexer](https://www.automicvault.com/zh-hans/pkg/brew/hexer/) - Shares av.db curated category or tags: cli, developer-tools, editor.
- [code-server](https://www.automicvault.com/zh-hans/pkg/brew/code-server/) - Package names and metadata indicate a similar tool family. Shared terms: cli, code, developer, developer-tools, vscode.
- [code-minimap](https://www.automicvault.com/zh-hans/pkg/brew/code-minimap/) - Package names and metadata indicate a similar tool family. Shared terms: cli, code, developer, developer-tools.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
