# 使用 Homebrew, dnf, MacPorts, zypper, apt 安装 aws-elasticbeanstalk

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aws-elasticbeanstalk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install eb
```

  证据: MacPorts ports tree: textproc/eb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install eb
```

  证据: Fedora Rawhide package metadata: eb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install eb
```

  证据: openSUSE Tumbleweed package metadata: eb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install eb-doc
```

  证据: Debian stable package indexes: eb-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:aws-elasticbeanstalk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/aws-elasticbeanstalk>
- **版本:** 3.27.3
- **来源摘要:** Client for Amazon Elastic Beanstalk web service
- **主页:** <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html>
- **上游文档:** <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/b8/b1/ee48b9e7a0e0c03254d27623f2b82a95f0ba95defe9bc6a6dc334d925501/awsebcli-3.27.3.tar.gz>
- **最后更新:** 2026-07-15T10:20:42Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- eb (cli)
- ebp (cli)
- eb (别名)
- ebp (别名)

## 依赖

- certifi
- cryptography
- libsodium
- libyaml
- python@3.14

## 构建依赖

- pkgconf
- rust

## macOS 提供的库

- libffi

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.27.3
- 管理器更新时间: 2026-07-15
- 本地数据: OK
- 上游仓库: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

The AWS Elastic Beanstalk CLI, usually invoked as `eb`, is AWS's higher-level command-line client for creating, deploying, updating, and monitoring Elastic Beanstalk applications and environments. It sits above the lower-level AWS CLI Elastic Beanstalk API commands and adds project-aware workflows, Git integration, interactive initialization, environment management, and deployment packaging.

### 项目历史

Elastic Beanstalk itself was announced by AWS on January 19, 2011 as a managed application deployment service that provisions capacity, load balancing, auto scaling, and health monitoring around uploaded applications. The EB CLI grew around that platform as the developer-friendly local workflow for Beanstalk projects.

The current EB CLI repository states that the CLI is now open source and hosted on GitHub. Its README presents the project as the command-line interface for deploying and managing Elastic Beanstalk applications and environments, with integration with Git and contribution through issues and pull requests.

The upstream changelog shows an actively maintained 3.x line. Recent entries include Python dependency support work, region and bucket updates, IIS migration helpers, remote execution work, Python 3.12 support, and security fixes for local state deserialization and zip extraction.

### 采用历史

The EB CLI became the Beanstalk-specific companion to general AWS CLI usage: AWS documentation explicitly contrasts the lower-level AWS CLI sequence for creating environments with the EB CLI's project-oriented single-command workflow. That made `eb init`, `eb create`, `eb deploy`, and related commands standard muscle memory for Beanstalk users.

Homebrew analytics showed 316 installs in 30 days, 1,512 in 90 days, and 8,175 in 365 days at the time of this batch. Those figures are modest relative to the AWS CLI, but healthy for a service-specific deployment tool whose main distribution path also includes pip and AWS's setup scripts.

### 使用方式

Typical usage starts by installing the CLI, configuring a project directory, and running commands such as `eb create` or `eb deploy`. AWS documentation says the EB CLI can create environments with a single command after installation and configuration.

The CLI stores project settings in `.elasticbeanstalk/config.yml` and reads credentials from command-line options, environment variables, shared AWS credentials and config files, the legacy EB CLI config file, and EC2 instance profile credentials, in that documented precedence order.

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

For package-manager people, aws-elasticbeanstalk is a classic example of a cloud vendor's service-specific CLI packaged outside the service's own installer story. The Homebrew formula wraps the Python `awsebcli` distribution, while AWS still recommends a separate setup-script repository for users who want an isolated virtual environment and pinned dependencies.

### 时间线

- 2011: AWS announces Elastic Beanstalk beta.
- 3.x: EB CLI is maintained as the open-source `aws/aws-elastic-beanstalk-cli` project.
- 2024: EB CLI 3.21.0 updates dependencies and declares support boundaries around Python versions.
- 2026: EB CLI 3.27.x changelog entries include AI log analysis, region updates, and security fixes.

### Related projects

- aws/aws-elastic-beanstalk-cli-setup: AWS's recommended setup-script installer repository.
- AWS CLI Elastic Beanstalk commands: lower-level API access for the same service.
- Elastic Beanstalk `.ebextensions`: application-source configuration files used by the service.

### 来源

- <https://aws.amazon.com/about-aws/whats-new/2011/01/19/introducing-aws-elastic-beanstalk-beta/>
- <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-configuration.html>
- <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html>
- <https://formulae.brew.sh/api/formula/aws-elasticbeanstalk.json>
- <https://github.com/aws/aws-elastic-beanstalk-cli>
- <https://raw.githubusercontent.com/aws/aws-elastic-beanstalk-cli/master/CHANGES.rst>


## 安全说明

没有找到 aws-elasticbeanstalk 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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: ./.elasticbeanstalk/config.yml

## Credential files

- Unix: ~/.aws/credentials, ~/.aws/config, ~/.elasticbeanstalk/config
- Windows: %USERPROFILE%\.aws\credentials, %USERPROFILE%\.aws\config, %USERPROFILE%\.elasticbeanstalk\config
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aws-elasticbeanstalk
- **Aliases:** awsebcli
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- MacPorts - eb: installed executable or alias match | MacPorts ports tree: textproc/eb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - eb-doc - 4.4.3-14.3: installed executable or alias match | Debian stable package indexes: eb-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C library for accessing electronic books (documents) | https://www.mistys-internet.website/eb/index-en.html
- Debian apt - eb-utils - 4.4.3-14.3: installed executable or alias match | Debian stable package indexes: eb-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C library for accessing electronic books (utilities) | https://www.mistys-internet.website/eb/index-en.html
- Debian apt - libeb16-dev - 4.4.3-14.3: installed executable or alias match | Debian stable package indexes: libeb16-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C library for accessing electronic books (development files) | https://www.mistys-internet.website/eb/index-en.html
- Debian apt - libeb16t64 - 4.4.3-14.3: installed executable or alias match | Debian stable package indexes: libeb16t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C library for accessing electronic books (runtime files) | https://www.mistys-internet.website/eb/index-en.html
- Ubuntu apt - eb-doc - 4.4.3-14.2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: eb-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C library for accessing electronic books (documents) | http://www.sra.co.jp/people/m-kasahr/eb/
- Ubuntu apt - eb-utils - 4.4.3-14.2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: eb-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C library for accessing electronic books (utilities) | http://www.sra.co.jp/people/m-kasahr/eb/
- Ubuntu apt - libeb16-dev - 4.4.3-14.2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libeb16-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C library for accessing electronic books (development files) | http://www.sra.co.jp/people/m-kasahr/eb/
- Ubuntu apt - libeb16t64 - 4.4.3-14.2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: libeb16t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C library for accessing electronic books (runtime files) | http://www.sra.co.jp/people/m-kasahr/eb/
- dnf - eb - 4.4.3-31.fc45: installed executable or alias match | Fedora Rawhide package metadata: eb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Library for accessing Japanese CD-ROM electronic books | http://www.sra.co.jp/people/m-kasahr/eb/
- dnf - eb-devel - 4.4.3-31.fc45: installed executable or alias match | Fedora Rawhide package metadata: eb-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for eb | http://www.sra.co.jp/people/m-kasahr/eb/
- zypper - eb - 4.4.3-7.5: installed executable or alias match | openSUSE Tumbleweed package metadata: eb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C Library for Accessing CD-ROM Books | https://github.com/aehlke/eb
- zypper - eb-devel - 4.4.3-7.5: installed executable or alias match | openSUSE Tumbleweed package metadata: eb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | EB Header Files and Libraries | https://github.com/aehlke/eb
- zypper - eb-lang - 4.4.3-7.5: installed executable or alias match | openSUSE Tumbleweed package metadata: eb-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package eb | https://github.com/aehlke/eb
- zypper - libeb16 - 4.4.3-7.5: installed executable or alias match | openSUSE Tumbleweed package metadata: libeb16 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | C Library for Accessing CD-ROM Books - shared library | https://github.com/aehlke/eb


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [railway](https://pkg.so/zh-hans/brew/railway/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment, paas.
- [ecs-deploy](https://pkg.so/zh-hans/brew/ecs-deploy/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, deployment.
- [aws-iam-authenticator](https://pkg.so/zh-hans/brew/aws-iam-authenticator/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [eksctl](https://pkg.so/zh-hans/brew/eksctl/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [awscli-local](https://pkg.so/zh-hans/brew/awscli-local/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [awscurl](https://pkg.so/zh-hans/brew/awscurl/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [aws-sso-cli](https://pkg.so/zh-hans/brew/aws-sso-cli/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [aws-sso-util](https://pkg.so/zh-hans/brew/aws-sso-util/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure.
- [aws-sam-cli](https://pkg.so/zh-hans/brew/aws-sam-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, certifi, cli, cloud, cloud-infrastructure.
- [aws-google-auth](https://pkg.so/zh-hans/brew/aws-google-auth/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, certifi, cli, cloud, cloud-infrastructure.

## Combined YAML source

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


## 来源

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