Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 code-server

查看 code-server 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install code-server

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#code-server

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

概览

软件包摘要

Access VS Code through the browser

命令和别名

  • code-server

历史

项目历史与用法

code-server is Coder's project for running VS Code on a remote machine and accessing it through a browser. It packages the VS Code editing experience as a self-hosted web IDE with a `code-server` CLI, install script, service setup, and browser login flow.

项目历史

The GitHub repository was created in 2019. The official contributing docs describe the early v1 architecture as a Code submodule plus a large patch that split the UI into a browser front-end and a server process. As VS Code's web architecture matured, code-server v2 and later used the Code front-end while implementing the server side, later reducing its patch set as upstream Code opened more server pieces.

采用历史

code-server became a standard self-hosted way to get VS Code in a browser, especially for remote Linux machines and cloud development boxes. Official docs support install scripts, Debian and RPM packages, AUR, Homebrew, Docker, Helm, Raspberry Pi, Termux, and cloud-provider guides; the input also records Homebrew and Nix distribution.

使用方式

Typical use is installing `code-server`, starting it as a user service or container, then visiting localhost or a secured remote URL in a browser. The default config is created at `~/.config/code-server/config.yaml`, stores bind address, auth mode, password or hashed password, and TLS settings, and can be overridden by flags or environment variables.

为什么软件包爱好者会关心

For package nerds, code-server is significant because it turns a large desktop editor into a service-oriented CLI package. Its packaging story spans native packages, Homebrew, Nix, Docker images, Helm charts, AUR recipes, install scripts, and upstream VS Code version tracking, which makes it a useful case study in repackaging a fast-moving Electron editor for headless and server environments.

时间线

  • 2019: GitHub repository for coder/code-server created.
  • 2019: v1 architecture split Code into browser front-end and server pieces, according to official contributing docs.
  • 2022: v4 releases tracked upstream VS Code versions in the changelog.
  • 2026: Recent releases continued tracking current VS Code versions.

Related projects

  • Related projects and comparators include Visual Studio Code, Code OSS, Coder, Theia, OpenVSCode Server, GitHub Codespaces, VS Code web, devcontainers, and remote development tooling.

安全态势

风险级别:orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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.

Unix
~/.config/code-server/config.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.config/code-server/config.yaml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
code-servercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.112.0
管理器更新时间2026-06-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://coder.com

  • 信息Release/tag comparison is only available for GitHub repositories.https://coder.comnone 置信度

安装元数据

软件包元数据

软件包键brew:code-server
版本4.112.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/code-server
主页https://coder.com
仓库https://github.com/coder/code-server
上游文档https://coder.com/docs/code-server/FAQ
许可证MIT
源码归档https://registry.npmjs.org/code-server/-/code-server-4.112.0.tgz
最后更新2026-06-15T10:20:13-04:00
Pulseupdated
依赖node@22
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared
注意事项The launchd service runs on http://127.0.0.1:8080. Logs are located at $HOMEBREW_PREFIX/var/log/code-server.log.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecode-server
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

code-server

nix profile install nixpkgs#code-server
  • normalized package name match
  • 匹配方式:Code Server
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/code-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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