Automic VaultAutomic Vault

brew

Install code-cli with Homebrew, Nix, pacman

Command-line interface built-in Visual Studio Code. Version 1.127.0 via Homebrew; verified 2026-07-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install code-cli

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#code

nixpkgs package indexes · pkgs/by-name/co/code/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S code

Arch Linux sync databases · code · source: geo.mirror.pkgbuild.com

overview

Package summary

Command-line interface built-in Visual Studio Code

Commands and aliases

  • code

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for code-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

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

executables

Installed executables

CommandKindExposureNote
codecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.127.0
manager updated2026-07-01
local dataok
upstreamcurrent
latest detected1.127.0

https://github.com/microsoft/vscode

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:code-cli
Version1.127.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/code-cli
Homepagehttps://code.visualstudio.com
Repositoryhttps://github.com/microsoft/vscode
Upstream docshttps://code.visualstudio.com/docs/configure/settings
LicenseMIT
Source archivehttps://github.com/microsoft/vscode/archive/refs/tags/1.127.0.tar.gz
Last updated2026-07-01T12:46:42Z
Pulseupdated
Dependenciesopenssl@4
Build dependenciespkgconf, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecode-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix92%

code

nix profile install nixpkgs#code
  • installed executable or alias match
  • Matched by: Code
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/code/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman92%

code 1.123.0-1

The Open Source build of Visual Studio Code (vscode) editor

https://github.com/microsoft/vscode

sudo pacman -S code
  • License: MIT
  • Architecture: x86_64
  • 5 dependencies
  • 1 provides
  • 3 optional deps
  • installed executable or alias match
  • Matched by: Code
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: code from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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