# 使用 Homebrew, Nix 安装 fastlane

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

## 安装

```sh
sudo av install brew:fastlane
```

## 代理安全回答

fastlane automates mobile build, signing, and release workflows.

- **凭据访问:** Reads signing keys, app-store credentials, API keys, and environment variables.
- **远程变更:** Can upload builds, modify metadata, and trigger release workflows.
- **发布/制品风险:** Publishes mobile app builds and release metadata.
- **推荐控制:** Gate upload, signing, match, deliver, pilot, and credential commands.
- **代理使用指南:** Allow lane inspection; require approval for signing, uploads, and store mutations.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fastlane
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fastlane
```

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

## 软件包事实

- **软件包键:** brew:fastlane
- **软件包管理器:** Homebrew
- **版本:** 2.237.0
- **来源摘要:** Easiest way to build and release mobile apps
- **主页:** <https://fastlane.tools>
- **仓库:** <https://github.com/fastlane/fastlane>
- **最后更新:** 2026-07-05T21:08:18Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fastlane (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.237.0
## 项目历史与用法

fastlane is a Ruby-based command-line automation suite for mobile app release engineering. It became the default package-manager answer to a painful class of iOS and Android chores: signing, screenshots, beta distribution, store metadata, builds, and CI release lanes.

### 项目历史

The public GitHub repository was created in December 2014. By May 2015, founder Felix Krause announced fastlane 1.0 and described work toward semantic versioning, multi-platform support, terminal-visible action documentation, and a refactored configuration system for built-in integrations.

In October 2015, Krause announced that fastlane had become part of Fabric at Twitter. That post framed fastlane as a side project that had grown into a full-time maintenance effort and promised that it would remain open source while expanding beyond iOS toward Android.

In January 2017, Krause announced that fastlane, along with Fabric, was joining Google and working with Firebase. The same post says the intervening Fabric period added a configuration web app, prepackaged fastlane distribution, plugins, two-factor Apple ID support, a monorepo migration, and the docs.fastlane.tools site.

### 采用历史

fastlane's adoption came from collapsing many fragile mobile-release scripts into a shared vocabulary of lanes and actions. The project README and docs continue to position it as automation for beta deployments and App Store/Google Play releases, and the repository's large contributor table, tens of thousands of GitHub stars, and package-manager presence reflect durable use across mobile teams.

Its adoption also tracks platform pain: Apple code signing, provisioning profiles, localized screenshots, TestFlight uploads, App Store metadata, Google Play uploads, and CI setup all changed often enough that a maintained shared tool was cheaper than every team owning its own scripts.

### 使用方式

A fastlane project usually defines lanes in a Fastfile. The docs show lanes that run tests, build an app, upload to beta services, capture screenshots, upload to the App Store, and notify teammates, then invoke them with commands such as fastlane release.

The action catalog is the operational heart of fastlane: build_app/gym builds and signs apps, match syncs signing materials, snapshot and screengrab automate localized screenshots, pilot uploads to TestFlight, deliver uploads to App Store Connect, and supply works with Google Play. CI actions help prepare Jenkins, Travis CI, CircleCI, and other automated environments.

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

fastlane matters to package nerds because it made mobile release automation feel like a packageable CLI rather than a pile of per-company shell scripts. Homebrew and RubyGems installs put a large, fast-moving mobile deployment stack behind one command, while the Fastfile gave teams a versioned, reviewable release recipe.

It is also a classic packaging challenge: fastlane has to bridge Ruby, native mobile toolchains, Xcode, Android tooling, Apple/Google APIs, stored credentials, and CI keychains. That messy boundary is exactly why users prefer installing one maintained tool.

### 时间线

- 2014: GitHub repository created for fastlane.
- 2015: fastlane 1.0 announced.
- 2015: fastlane became part of Fabric.
- 2017: fastlane joined Google with Fabric and Firebase.
- 2026: The repository remains active with more than 40,000 GitHub stars.

### Related projects

- spaceship provides Apple developer portal and App Store Connect communication used by fastlane tools.
- gym/build_app, match, snapshot, screengrab, pilot, deliver, and supply are the major fastlane actions/package names users associate with the suite.
- Firebase and Fabric are part of fastlane's organizational history after the 2017 Google transition.

### 来源

- <https://github.com/fastlane/fastlane>
- <https://docs.fastlane.tools/>
- <https://docs.fastlane.tools/actions/>
- <https://krausefx.com/blog/fastlane-10>
- <https://krausefx.com/blog/fastlane-is-now-part-of-fabric>
- <https://krausefx.com/blog/fastlane-is-joining-google>
- <https://api.github.com/repos/fastlane/fastlane>


## 安全说明

没有找到 fastlane 的匹配本地密钥处理 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.


## Credential files

- Unix: ~/.fastlane/spaceship, ~/.spaceship
## 其他软件包管理器记录

- Nix - fastlane: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/fastlane/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/fastlane.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fastlane.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
- curated agent safety answer
