# 使用 Homebrew, Nix 安装 bitrise

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

## 安装

```sh
sudo av install brew:bitrise
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bitrise
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bitrise
```

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

## 软件包事实

- **软件包键:** brew:bitrise
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bitrise>
- **版本:** 2.41.0
- **来源摘要:** Command-line automation tool
- **主页:** <https://github.com/bitrise-io/bitrise>
- **仓库:** <https://github.com/bitrise-io/bitrise>
- **上游文档:** <https://docs.bitrise.io/en/bitrise-ci/bitrise-cli/managing-secrets-locally>
- **许可证:** MIT
- **源码归档:** <https://github.com/bitrise-io/bitrise/archive/refs/tags/v2.41.0.tar.gz>
- **最后更新:** 2026-07-02T09:38:39Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- bitrise (cli)
- bitrise (别名)

## 构建依赖

- go

## macOS 提供的库

- rsync

## 安装行为

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

## 版本和新鲜度

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

Bitrise CLI is the open source workflow runner behind Bitrise builds. The README describes it as the component that executes steps defined in bitrise.yml on Bitrise build machines and as a standalone tool for validating and running workflows locally.

For package users, the CLI matters because it turns a hosted mobile CI product into a reproducible local command: brew install bitrise, run bitrise validate or bitrise run, and debug the same YAML-driven workflow before pushing.

### 项目历史

The public repository was created in 2015 and has long used Go as a portable implementation language for local automation on macOS and Linux. Its tag history starts before 1.0 and continues through the v2 series, with v2.40.7 published in June 2026.

Bitrise's own docs frame the CLI around bitrise.yml: users can download a project's configuration from bitrise.io or create a bitrise.yml in the project root, then run a named workflow locally.

### 采用历史

Homebrew and Nix package entries in the input show adoption as a Unix developer tool rather than only a downloadable vendor binary. The README also points to Homebrew, Nix, GitHub releases, and community maintained packages.

The CLI's adoption is tied to Bitrise's mobile CI ecosystem: it lets teams validate CI changes without waiting for a remote build and gives local access to the same workflow primitives used by hosted Bitrise.

### 使用方式

Common package-manager usage is to install the bitrise executable, keep bitrise.yml in the project root, run bitrise validate while editing the file, and run bitrise run workflow_name for local CI workflow execution.

Secrets are intentionally split from the normal build config. Bitrise documents local secret handling with .bitrise.secrets.yml, which is package-nerd-important because it keeps the checked-in YAML portable while leaving local credentials outside the main workflow file.

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

Bitrise CLI is a good example of a hosted CI service exposing its runner as a packageable local binary. That makes the package more than a vendor helper: it is the executable contract for a CI configuration format.

It also sits in the mobile-devops corner of package-manager culture, where macOS availability matters because iOS builds and signing workflows often start on developer Macs before being reproduced in CI.

### 时间线

- 2015: bitrise-io/bitrise repository created.
- 2016: Early 0.9.x and 1.x tags appear in the public tag history.
- 2020s: README documents Homebrew and Nix installation paths alongside GitHub release downloads.
- 2026: v2.40.7 release published on GitHub.

### Related projects

- Bitrise CI is the hosted service whose builds are executed by the CLI runner.
- bitrise-io/bitrise-steplib is the default step library source referenced by Bitrise configuration examples.
- Bitrise workflow recipes and sample apps provide reusable examples around bitrise.yml workflows.

### 来源

- <https://docs.bitrise.io/en/bitrise-ci/bitrise-cli/managing-secrets-locally>
- <https://docs.bitrise.io/en/bitrise-ci/bitrise-cli/running-your-first-local-build-with-the-cli>
- <https://github.com/bitrise-io/bitrise#readme>
- source_facts.package-manager


## 安全说明

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

## Credential files

- Unix: .bitrise.secrets.yml
## 源数据库详情

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

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

- Nix - bitrise: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bitrise/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.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [dagger](https://www.automicvault.com/zh-hans/pkg/brew/dagger/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools.
- [gitea-runner](https://www.automicvault.com/zh-hans/pkg/brew/gitea-runner/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools.
- [jenkins-job-builder](https://www.automicvault.com/zh-hans/pkg/brew/jenkins-job-builder/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools.
- [pipelight](https://www.automicvault.com/zh-hans/pkg/brew/pipelight/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools.
- [tfcmt](https://www.automicvault.com/zh-hans/pkg/brew/tfcmt/) - Shares av.db curated category or tags: automation, ci-cd, cli, developer-tools.
- [act](https://www.automicvault.com/zh-hans/pkg/brew/act/) - Shares av.db curated category or tags: ci-cd, cli, developer-tools.
- [ahoy](https://www.automicvault.com/zh-hans/pkg/brew/ahoy/) - Shares av.db curated category or tags: automation, cli, developer-tools.
- [all-repos](https://www.automicvault.com/zh-hans/pkg/brew/all-repos/) - Shares av.db curated category or tags: automation, cli, developer-tools.
- [atomist-cli](https://www.automicvault.com/zh-hans/pkg/brew/atomist-cli/) - Local package facts share a topical domain. Shared terms: automation, cli, command-line, developer, developer-tools.
- [clitest](https://www.automicvault.com/zh-hans/pkg/brew/clitest/) - Local package facts share a topical domain. Shared terms: automation, cli, command-line, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/bitrise.yml](https://github.com/automic-vault/db/blob/main/combined/bitrise.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
