# 使用 Homebrew, pacman, zypper, dnf, apt 安装 forgecode

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

## 安装

```sh
sudo av install brew:forgecode
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install forgecode
```

  证据: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S forge
```

  证据: Arch Linux sync databases: forge from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install forge
```

  证据: openSUSE Tumbleweed package metadata: forge from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install gnome-shell-extension-forge
```

  证据: Fedora Rawhide package metadata: gnome-shell-extension-forge from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Ubuntu apt (92%):

```sh
sudo apt install forge-doc
```

  证据: Ubuntu 24.04 LTS package indexes: forge-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:forgecode
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/forgecode>
- **版本:** 2.13.19
- **来源摘要:** AI-enhanced terminal development environment
- **主页:** <https://forgecode.dev/>
- **仓库:** <https://github.com/tailcallhq/forgecode>
- **上游文档:** <https://forgecode.dev/docs>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/tailcallhq/forgecode/archive/refs/tags/v2.13.19.tar.gz>
- **最后更新:** 2026-07-24T21:11:50Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- forge (cli)
- forge (别名)

## 构建依赖

- protobuf
- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 2.13.19
- 管理器更新时间: 2026-07-24
- 本地数据: OK
- 上游仓库: https://github.com/tailcallhq/forgecode
- 检测到的最新版本: v2.13.19 (当前)
## 项目历史与用法

ForgeCode is a terminal-based AI coding agent and development environment. It exposes an interactive TUI, one-shot command mode, and Zsh integration for sending development tasks to an LLM-backed agent from the shell.

### 项目历史

The official README describes Forge as an AI-enhanced terminal development environment and a comprehensive coding agent that integrates AI capabilities with a developer's local environment.

The official documentation site presents ForgeCode as a coding harness for terminal workflows and documents provider login, model selection, Zsh support, custom rules, MCP integration, and service features.

### 采用历史

ForgeCode's public packaging and release cadence are recent. The documentation site metadata lists 2024 as the published date, and the GitHub release page shows active 2.x releases through June 2026.

Its adoption story belongs to the 2024-2026 wave of terminal AI coding agents: install a CLI, authenticate an AI provider, then let the agent inspect, edit, and run commands in a local codebase.

### 使用方式

Users install ForgeCode with the official installer or a package manager, run forge for the interactive TUI, pass -p/--prompt for one-shot tasks, or install the Zsh plugin to route colon-prefixed shell prompts to the active agent.

The README and docs describe multi-provider support, provider login, model selection, project-aware prompting, conversation resume, sandboxed worktrees, and optional ForgeCode services.

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

ForgeCode is notable as a fast-moving Rust workspace distributed as a developer CLI rather than as an editor extension first.

For package maintainers, it represents the newer class of AI tools whose package metadata, release channels, shell integrations, and provider credential setup matter as much as the binary itself.

### 时间线

- 2024: The official site metadata lists the software datePublished as 2024-01-01.
- 2026: The docs page records an April 10, 2026 update to installation and setup documentation.
- 2026: The GitHub release page shows v2.13.x releases in June 2026, including v2.13.15 on June 30, 2026.

### Related projects

- ForgeCode is related to other terminal AI coding agents and to LLM provider APIs from OpenAI, Anthropic, OpenRouter, and other providers documented by the project.
- The repository is a Rust workspace made up of internal forge_* crates, reflecting a packaged CLI/application architecture rather than a single script.

### 来源

- <https://forgecode.dev/docs>
- <https://github.com/tailcallhq/forgecode>
- <https://github.com/tailcallhq/forgecode/releases>
- <https://raw.githubusercontent.com/tailcallhq/forgecode/main/Cargo.toml>
- <https://raw.githubusercontent.com/tailcallhq/forgecode/main/README.md>


## 安全说明

没有找到 forgecode 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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

- Unix: ~/.forge/.forge.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** forgecode
- **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

## 其他软件包管理器记录

- Ubuntu apt - forge-doc - 1.0.1-3.1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: forge-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for forge | https://github.com/arrayfire/forge
- Ubuntu apt - libforge-dev - 1.0.1-3.1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libforge-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | development files for forge | https://github.com/arrayfire/forge
- Ubuntu apt - libforge1t64 - 1.0.1-3.1build1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libforge1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | high-performance OpenGL visualization | https://github.com/arrayfire/forge
- dnf - gnome-shell-extension-forge - 89-3.fc45: installed executable or alias match | Fedora Rawhide package metadata: gnome-shell-extension-forge from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tiling and window manager for GNOME Shell | https://github.com/forge-ext/forge
- pacman - forge - 2:1.0.8-3: installed executable or alias match | Arch Linux sync databases: forge from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | High Performance Visualizations | https://github.com/arrayfire/forge
- zypper - forge - 0.5.1-1.1: installed executable or alias match | openSUSE Tumbleweed package metadata: forge from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A command line tool to interact with git forges | https://github.com/git-pkgs/forge
- zypper - forge-bash-completion - 0.5.1-1.1: installed executable or alias match | openSUSE Tumbleweed package metadata: forge-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for forge | https://github.com/git-pkgs/forge
- zypper - forge-zsh-completion - 0.5.1-1.1: installed executable or alias match | openSUSE Tumbleweed package metadata: forge-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for forge | https://github.com/git-pkgs/forge


## 相关链接

- [MCP tool packages](https://www.automicvault.com/zh-hans/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://www.automicvault.com/zh-hans/pkg/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [protobuf](https://www.automicvault.com/zh-hans/pkg/brew/protobuf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [mimo-code](https://www.automicvault.com/zh-hans/pkg/brew/mimo-code/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [opencode](https://www.automicvault.com/zh-hans/pkg/brew/opencode/) - Shares av.db curated category or tags: ai, cli, coding-agents, developer-tools, llm.
- [zero](https://www.automicvault.com/zh-hans/pkg/brew/zero/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [kimi-cli](https://www.automicvault.com/zh-hans/pkg/brew/kimi-cli/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, terminal.
- [letta-code](https://www.automicvault.com/zh-hans/pkg/brew/letta-code/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [mistral-vibe](https://www.automicvault.com/zh-hans/pkg/brew/mistral-vibe/) - Shares av.db curated category or tags: ai, cli, coding-agent, coding-agents, developer-tools.
- [pixtuoid](https://www.automicvault.com/zh-hans/pkg/brew/pixtuoid/) - Shares av.db curated category or tags: ai, cli, coding-agents, developer-tools, terminal.
- [qqqa](https://www.automicvault.com/zh-hans/pkg/brew/qqqa/) - Shares av.db curated category or tags: ai, cli, coding-agents, llm, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/forgecode.yml](https://github.com/automic-vault/db/blob/main/combined/forgecode.yml)


## 来源

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