# 使用 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
- **版本:** 2.21.0
- **来源摘要:** Workspace productivity booster
- **主页:** <https://github.com/brocode/fw>
- **仓库:** <https://github.com/brocode/fw>
- **最后更新:** 2026-06-22T14:03:23-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fw (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.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
## 其他软件包管理器记录

- 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


## Combined YAML source

View the package source record on GitHub. [combined/fw.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fw.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
