# Installer code-cli avec Homebrew, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de code-cli pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

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

## Faits du paquet

- **Clé du paquet:** brew:code-cli
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/code-cli>
- **Version:** 1.131.0
- **Résumé source:** Command-line interface built-in Visual Studio Code
- **Page d'accueil:** <https://code.visualstudio.com>
- **Dépôt:** <https://github.com/microsoft/vscode>
- **Docs amont:** <https://code.visualstudio.com>
- **Licence:** MIT
- **Archive source:** <https://github.com/microsoft/vscode/archive/refs/tags/1.131.0.tar.gz>
- **Dernière mise à jour:** 2026-07-29T15:20:26Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- code (cli)
- code (alias)

## Dépendances

- openssl@4

## Dépendances de compilation

- pkgconf
- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.131.0
- gestionnaire mis à jour: 2026-07-29
- données locales: OK
- dépôt amont: https://github.com/microsoft/vscode
- dernière version détectée: 1.131.0 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour code-cli. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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
## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@4](https://pkg.so/fr/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [neovim](https://pkg.so/fr/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [neovide](https://pkg.so/fr/brew/neovide/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [ansible-language-server](https://pkg.so/fr/brew/ansible-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, editor, vscode.
- [neovim-qt](https://pkg.so/fr/brew/neovim-qt/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [vsce](https://pkg.so/fr/brew/vsce/) - Shares pkgdb curated category or tags: cli, developer-tools, extensions, vscode.
- [neovim-remote](https://pkg.so/fr/brew/neovim-remote/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [vtsls](https://pkg.so/fr/brew/vtsls/) - Shares pkgdb curated category or tags: cli, developer-tools, vscode.
- [poke](https://pkg.so/fr/brew/poke/) - Shares pkgdb curated category or tags: cli, developer-tools, editor.
- [vscode-extension-tester](https://pkg.so/fr/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)


## Sources

- 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
