# 使用 Homebrew, scoop 安装 aws-amplify

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

## 安装

```sh
sudo av install brew:aws-amplify
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aws-amplify
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/aws-amplify
```

  证据: Scoop official bucket manifest trees: bucket/aws-amplify.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:aws-amplify
- **软件包管理器:** Homebrew
- **版本:** 14.5.1
- **来源摘要:** Build full-stack web and mobile apps in hours. Easy to start, easy to scale
- **主页:** <https://aws.amazon.com/amplify/>
- **最后更新:** 2026-06-26T15:54:25Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- amplify (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

AWS Amplify CLI is the command-line toolchain for creating, integrating, and managing AWS-backed web and mobile app services. The Homebrew package installs the amplify command, historically centered on Amplify Gen 1 workflows such as amplify init, add, push, pull, and env management.

### 项目历史

AWS announced the AWS Amplify library and AWS Mobile CLI in 2017, and that announcement now carries an editorial note directing users to the AWS Amplify CLI. In August 2018, AWS announced the Amplify CLI toolchain as the newer workflow for configuring local project state and deploying cloud resources.

The Amplify CLI's Gen 1 architecture used AWS CloudFormation and nested stacks so developers could add or modify backend configurations locally before pushing them to an AWS account. Its file layout grew around an amplify/ project directory containing backend state, team environment metadata, feature flags, and generated client configuration.

Amplify later introduced Gen 2, a code-first TypeScript backend experience built on AWS CDK constructs. AWS made Amplify Gen 2 generally available on May 6, 2024, which shifted new projects toward ampx and file-based TypeScript backend definitions while leaving Gen 1 CLI documentation in maintenance mode.

### 采用历史

Amplify CLI was adopted heavily by frontend and mobile developers who wanted AWS-backed auth, APIs, storage, functions, and hosting without hand-writing all of the CloudFormation. Its category model let users add Cognito, AppSync, S3, Lambda, and hosting resources from prompts and then commit the resulting project files.

The tool also became a source of package-manager friction because it is an npm-distributed CLI with a large plugin ecosystem, but many users want it installed like any other system command. Homebrew and Scoop formulas serve that audience by making amplify available outside a per-project node_modules tree.

### 使用方式

In Gen 1 workflows, users run amplify configure to connect local tooling to an AWS account, amplify init to create an Amplify project, amplify add <category> to model backend resources, and amplify push to deploy generated CloudFormation. The CLI writes project state under amplify/ and consumes AWS shared config and credentials files for account access.

Amplify's documented project files include amplify/.config/, backend-config.json under both amplify/backend and amplify/#current-cloud-backend, team-provider-info.json, cli.json, category cli-inputs.json files, generated client configuration, and deployment secrets stored outside the repository. Gen 2 workflows instead use npx ampx commands and generate amplify_outputs.json for client configuration.

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

For package nerds, aws-amplify is a case study in packaging a fast-moving JavaScript cloud CLI as a system formula. It has to bridge npm expectations, Node version support, AWS credentials, generated project files, and the fact that the product line split between Gen 1 CLI and Gen 2 ampx workflows.

It is also historically useful because old Amplify projects often encode their backend state in generated JSON files. Having a reproducible CLI installation can be the difference between being able to pull, inspect, migrate, or retire an older Amplify backend.

### 时间线

- 2017: AWS announced AWS Amplify and the AWS Mobile CLI, with later guidance to use Amplify CLI going forward.
- 2018: AWS announced the AWS Amplify CLI toolchain.
- 2021: AWS Amplify CLI added support for function environment variables and secrets.
- 2024: AWS Amplify Gen 2 became generally available as a fullstack TypeScript experience.
- 2027: AWS Amplify Gen 1 documentation says Gen 1 reaches end of life on May 1, 2027.

### Related projects

- AWS Amplify Gen 2 backend tooling uses the @aws-amplify/backend-cli package and ampx commands.
- AWS CDK underpins Amplify Gen 2's backend-building model and can be used for custom resources.
- AWS CloudFormation is the deployment substrate used by the Gen 1 CLI and nested-stack architecture.

### 来源

- <https://aws.amazon.com/about-aws/whats-new/2024/05/aws-amplify-gen-2-available/>
- <https://aws.amazon.com/blogs/mobile/announcing-aws-amplify-and-the-aws-mobile-cli/>
- <https://aws.amazon.com/blogs/mobile/announcing-the-aws-amplify-cli-toolchain/>
- <https://docs.amplify.aws/gen1/javascript/tools/cli/>
- <https://docs.amplify.aws/gen1/react/tools/cli/reference/files/>
- <https://docs.amplify.aws/react/reference/cli-commands/>
- <https://docs.aws.amazon.com/sdkref/latest/guide/file-location.html>
- <https://github.com/aws-amplify/amplify-cli>


## 安全说明

没有找到 aws-amplify 的匹配本地密钥处理 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: amplify/.config/, amplify/backend/backend-config.json, amplify/#current-cloud-backend/backend-config.json, amplify/team-provider-info.json, amplify/cli.json, amplify/**/cli-inputs.json, ~/.aws/amplify/deployment-secrets.json

## Credential files

- Unix: ~/.aws/credentials
- Windows: %USERPROFILE%\.aws\credentials
## 其他软件包管理器记录

- Scoop - main/aws-amplify: normalized package name match | Scoop official bucket manifest trees: bucket/aws-amplify.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/aws-amplify.yml](https://github.com/mxcl/pkgdb/blob/main/combined/aws-amplify.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
