# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 3.27.3
- **来源摘要:** Client for Amazon Elastic Beanstalk web service
- **主页:** <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html>
- **最后更新:** 2026-07-15T10:20:42Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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。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: ./.elasticbeanstalk/config.yml

## Credential files

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
