# code-cli mit Homebrew, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für code-cli in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:code-cli
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/code-cli>
- **Version:** 1.131.0
- **Quellzusammenfassung:** Command-line interface built-in Visual Studio Code
- **Homepage:** <https://code.visualstudio.com>
- **Repository:** <https://github.com/microsoft/vscode>
- **Upstream-Dokumentation:** <https://code.visualstudio.com>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/microsoft/vscode/archive/refs/tags/1.131.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-29T15:20:26Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- code (cli)
- code (Alias)

## Abhängigkeiten

- openssl@4

## Build-Abhängigkeiten

- pkgconf
- rust

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 1.131.0
- Manager aktualisiert: 2026-07-29
- lokale Daten: OK
- Upstream-Repository: https://github.com/microsoft/vscode
- neueste erkannte Version: 1.131.0 (aktuell)
## Projektgeschichte und Nutzung

The Visual Studio Code CLI is the command-line surface of VS Code, exposed as the `code` command. It lets users launch the editor, open files and folders, manage extensions, inspect status, and create remote tunnels from a terminal.

### Projektgeschichte

VS Code was announced in 2015 as Microsoft's cross-platform editor. Later that year the November 2015 Beta release made the Code OSS project open source and added extension support. The `code` command became part of the product's developer workflow: the official CLI docs describe it as built in and document editor launch, file navigation, extension management, chat, diagnostics, and tunneling.

### Adoptionsgeschichte

Microsoft's 1.0 announcement reported 2 million installs and more than 500,000 monthly active developers by April 2016. The CLI followed VS Code's adoption because `code .` became the normal bridge between shell workflows and the editor. The input also records package-manager distribution for the CLI through Homebrew, Nix, and pacman.

### Wie es verwendet wird

Common usage includes `code .` to open the current directory, file arguments to open or create files, `--install-extension` and `--list-extensions` for extension workflows, `--user-data-dir` for isolated instances, and `code tunnel` for remote tunnel setup.

### Warum Paket-Nerds sich dafür interessieren

For package-manager users, `code-cli` matters because it splits the terminal command from the desktop app story. A working `code` executable is what lets editors participate in Unix-style workflows: scripts can open files, shells can jump into projects, and remote machines can expose VS Code access without starting from a GUI installer.

### Zeitleiste

- 2015: Visual Studio Code announced at Build.
- 2015: November Beta made VS Code open source and added extensions.
- 2016: Visual Studio Code 1.0 released with reported 2 million installs and 500,000 monthly active developers.
- 2026: Official CLI docs cover built-in `code` command workflows, chat subcommands, and remote tunnels.

### Related projects

- Related projects and surfaces include the microsoft/vscode Code OSS repository, the VS Code desktop product, VS Code Insiders, Remote Tunnels, the extension marketplace, and downstream open-source builds such as Code OSS packages.

### Quellen

- <https://code.visualstudio.com/docs/configure/command-line>
- <https://code.visualstudio.com/docs/configure/settings>
- <https://code.visualstudio.com/blogs/2016/04/14/vscode-1.0>
- <https://code.visualstudio.com/updates/vNovember>
- <https://github.com/microsoft/vscode>


## Sicherheitshinweise

Für code-cli wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: ~/.config/Code/User/settings.json, .vscode/settings.json
- macOS: ~/Library/Application Support/Code/User/settings.json, .vscode/settings.json
- Windows: %APPDATA%\Code\User\settings.json, .vscode\settings.json
## Details aus der Quelldatenbank

- **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

## Andere Paketmanager-Einträge

- 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.131.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


## Verwandte Links

- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@4](https://pkg.so/de/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/de/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [neovim](https://pkg.so/de/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [neovide](https://pkg.so/de/brew/neovide/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [ansible-language-server](https://pkg.so/de/brew/ansible-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, editor, vscode.
- [neovim-qt](https://pkg.so/de/brew/neovim-qt/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [vsce](https://pkg.so/de/brew/vsce/) - Shares pkgdb curated category or tags: cli, developer-tools, extensions, vscode.
- [neovim-remote](https://pkg.so/de/brew/neovim-remote/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [vtsls](https://pkg.so/de/brew/vtsls/) - Shares pkgdb curated category or tags: cli, developer-tools, vscode.
- [poke](https://pkg.so/de/brew/poke/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [vscode-extension-tester](https://pkg.so/de/npm/vscode-extension-tester/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, extensions.

## Combined YAML source

View the package source record on GitHub. [combined/code-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/code-cli.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
