# 使用 Homebrew, Nix 安装 eas-cli

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

## 安装

```sh
sudo av install brew:eas-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install eas-cli
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#eas-cli
```

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

## 软件包事实

- **软件包键:** brew:eas-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/eas-cli>
- **版本:** 20.5.1
- **来源摘要:** Command-line tool for working with Expo Application Services
- **主页:** <https://docs.expo.dev/eas/>
- **仓库:** <https://github.com/expo/eas-cli>
- **上游文档:** <https://docs.expo.dev/eas>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/eas-cli/-/eas-cli-20.5.1.tgz>
- **最后更新:** 2026-07-02T18:04:35Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- eas (cli)
- eas (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 20.5.1
- 管理器更新时间: 2026-07-02
- 本地数据: OK
- 上游仓库: https://docs.expo.dev/eas/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

EAS CLI is Expo's command-line client for Expo Application Services, the hosted build, submit, update, hosting, metadata, workflow, and observability services used by Expo and React Native projects. Package-manager users know it as the `eas` executable distributed through npm and Homebrew.

### 项目历史

The `eas-cli` npm package was created in August 2020, and the official GitHub repository was created days later. It grew out of Expo's move from the older Expo build/update services toward Expo Application Services, a broader set of cloud services for building, signing, submitting, and updating native mobile apps.

The repository README presents the package as the EAS command-line tool and documents global npm or Yarn installation. Over time, the command surface expanded far beyond `eas build` into credentials, submit, update, channels, metadata, workflows, hosting/deploy commands, environment management, diagnostics, and account administration.

### 采用历史

EAS CLI adoption follows Expo and React Native adoption rather than a standalone infrastructure-tool adoption curve. Developers install it when they need cloud Android/iOS builds, store submissions, signing credential management, internal distribution, or over-the-air updates for Expo and React Native projects.

The npm registry records hundreds of published versions, which reflects the rapid release cadence of Expo's managed service client. Homebrew packages the npm tarball as `eas-cli`, giving macOS and Linux users a package-manager route in addition to the official npm install path.

### 使用方式

Common workflows include `eas build --platform all` to produce Android and iOS binaries, `eas submit` to upload builds to app stores, and `eas update` to publish JavaScript and asset updates through EAS Update. Project build profiles and CLI version constraints live in `eas.json`.

EAS Build can manage Android keystores, iOS provisioning profiles, and distribution certificates, or use credentials provided by the project. That is why the CLI sits at the boundary between package tooling and sensitive mobile-release infrastructure.

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

For package nerds, EAS CLI is a good example of a service-backed CLI becoming the canonical interface for a platform. The interesting package is not just a binary; it is the versioned client for a large hosted release workflow.

It also shows the JavaScript CLI packaging pattern clearly: the source is a GitHub monorepo package, npm is the primary distribution channel, and Homebrew repackages the npm artifact for users who prefer system package managers.

### 时间线

- 2020-08: npm registry records the creation of the `eas-cli` package.
- 2020-08: The official `expo/eas-cli` GitHub repository was created.
- 2021-12: Expo docs identify Classic Updates as the pre-EAS Update service era, with EAS Update recommended for new update workflows.
- 2026-06: npm registry records `eas-cli` 20.x with more than 400 published versions.

### Related projects

- Expo CLI and `create-expo-app` are the adjacent local development tools that lead many projects into EAS workflows.
- `expo-updates` is the runtime library used by EAS Update.
- React Native is the broader app platform EAS Build supports, including projects that were not originally created with Expo.
- Microsoft CodePush is a related over-the-air update service that Expo documentation compares with EAS Update.

### 来源

- <https://github.com/expo/eas-cli>
- <https://registry.npmjs.org/eas-cli>
- <https://docs.expo.dev/eas/>
- <https://docs.expo.dev/build/introduction/>
- <https://docs.expo.dev/eas-update/introduction/>
- <https://formulae.brew.sh/api/formula/eas-cli.json>


## 安全说明

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

## Credential files

- Unix: credentials.json, ios/certs/dist.p12, ios/certs/profile.mobileprovision
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** eas-cli
- **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 - eas-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ea/eas-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [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.
- [Documentation packages](https://www.automicvault.com/zh-hans/pkg/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [eas-cli](https://www.automicvault.com/zh-hans/pkg/npm/eas-cli/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## 来源

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