# code-cli を Homebrew, Nix, pacman でインストール

code-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:code-cli
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/code-cli>
- **バージョン:** 1.131.0
- **ソース概要:** Command-line interface built-in Visual Studio Code
- **ホームページ:** <https://code.visualstudio.com>
- **リポジトリ:** <https://github.com/microsoft/vscode>
- **上流ドキュメント:** <https://code.visualstudio.com>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/microsoft/vscode/archive/refs/tags/1.131.0.tar.gz>
- **最終更新:** 2026-07-29T15:20:26Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- code (cli)
- code (エイリアス)

## 依存関係

- openssl@4

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.131.0
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/microsoft/vscode
- 検出された最新: 1.131.0 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

code-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



## 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
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
