# 使用 Homebrew, Nix 安装 fw

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

## 安装

```sh
sudo av install brew:fw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fw
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fw
```

  证据: nixpkgs package indexes: pkgs/by-name/fw/fw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fw
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fw>
- **版本:** 2.21.0
- **来源摘要:** Workspace productivity booster
- **主页:** <https://github.com/brocode/fw>
- **仓库:** <https://github.com/brocode/fw>
- **上游文档:** <https://github.com/brocode/fw#readme>
- **许可证:** WTFPL
- **源码归档:** <https://github.com/brocode/fw/archive/refs/tags/v2.21.0.tar.gz>
- **最后更新:** 2026-06-22T14:03:23-07:00
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- fw (cli)
- fw (别名)

## 依赖

- openssl@3

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 2.21.0
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/brocode/fw
- 检测到的最新版本: v2.21.0 (当前)
## 项目历史与用法

fw is a Rust command-line workspace manager for cloning projects, switching among them, and running setup commands across a developer workspace. Its upstream README frames it as a personal productivity tool with explicit workflow assumptions rather than a general-purpose project manager.

### 项目历史

The GitHub repository was created in March 2017. Early releases reached 1.x during 2017, and later releases moved into the 2.x series, with releases continuing through at least 2025.

The README presents fw as a tool for describing a workspace, cloning git projects, running setup commands, generating editor/projectile configuration, and reducing project-switching overhead.

### 采用历史

fw has a small but real package-manager footprint: the upstream README advertises a crates.io package badge, while the input package metadata records availability in Homebrew and Nix. Its adoption is best understood as a niche command-line workflow tool rather than a broad ecosystem standard.

### 使用方式

Users maintain a configuration directory under the platform config directory, or override it with `FW_CONFIG_DIR`. The tool assumes git repositories, ssh-based cloning, and ssh-agent authentication by default.

Typical usage is to define projects once, let fw clone or locate them, and use shell integration to jump into a project with setup actions such as running build commands or activating language environments.

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

fw is interesting to package nerds because it sits between dotfiles, shell navigation, Git workspace bootstrapping, and editor integration. It is a small example of a personal workflow script becoming a packaged CLI with cross-platform config-directory behavior.

Its README is unusually explicit about what the tool is not: it encodes the author's workflow and lists assumptions such as git-only repositories and ssh-agent authentication.

### 时间线

- 2017: Public GitHub repository created.
- 2017: 1.x releases published.
- 2023: 2.18.0 and 2.19.x releases published.
- 2025: 2.20.0 and 2.21.0 releases published.

### Related projects

- fw overlaps with shell `CDPATH`, project switcher scripts, editor project indexes such as Projectile, and language environment managers such as nvm or virtualenv when used as setup hooks.
- It depends culturally on Git and ssh-agent based developer workflows.

### 来源

- <https://api.github.com/repos/brocode/fw>
- <https://github.com/brocode/fw>
- <https://github.com/brocode/fw/releases>
- <https://raw.githubusercontent.com/brocode/fw/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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/fw
- macOS: ~/Library/Application Support/fw
- Windows: {FOLDERID_RoamingAppData}\fw
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fw
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - fw: normalized package name match | nixpkgs package indexes: pkgs/by-name/fw/fw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/zh-hans/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [eureka](https://www.automicvault.com/zh-hans/pkg/brew/eureka/) - Shares av.db curated category or tags: cli, git, productivity.
- [cdargs](https://www.automicvault.com/zh-hans/pkg/brew/cdargs/) - Shares av.db curated category or tags: cli, productivity.
- [doxx](https://www.automicvault.com/zh-hans/pkg/brew/doxx/) - Shares av.db curated category or tags: cli, productivity.
- [dstask](https://www.automicvault.com/zh-hans/pkg/brew/dstask/) - Shares av.db curated category or tags: cli, git, productivity.
- [gcalcli](https://www.automicvault.com/zh-hans/pkg/brew/gcalcli/) - Shares av.db curated category or tags: cli, productivity.
- [harsh](https://www.automicvault.com/zh-hans/pkg/brew/harsh/) - Shares av.db curated category or tags: cli, productivity.
- [intelli-shell](https://www.automicvault.com/zh-hans/pkg/brew/intelli-shell/) - Shares av.db curated category or tags: cli, productivity.
- [tmux-sessionizer](https://www.automicvault.com/zh-hans/pkg/brew/tmux-sessionizer/) - Shares av.db curated category or tags: cli, git, productivity.
- [far2l-tty](https://www.automicvault.com/zh-hans/pkg/brew/far2l-tty/) - Local package facts share a topical domain. Shared terms: cli, manager, openssl, openssl-3, productivity.
- [toml-bombadil](https://www.automicvault.com/zh-hans/pkg/brew/toml-bombadil/) - Local package facts share a topical domain. Shared terms: cli, manager, openssl, openssl-3, productivity.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- 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
