# 使用 Homebrew 安装 akamai

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

## 安装

```sh
sudo av install brew:akamai
```

## 代理安全回答

akamai CLI controls Akamai edge configuration and account resources.

- **凭据访问:** Reads Akamai credentials, edgerc files, account switches, and environment values.
- **远程变更:** Can change edge properties, purge caches, and mutate account configuration.
- **发布/制品风险:** Can publish edge delivery or security configuration.
- **推荐控制:** Gate property, purge, credential, and activation commands.
- **代理使用指南:** Allow read-only account inspection; require approval for activations, purges, and credential use.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install akamai
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:akamai
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/akamai>
- **版本:** 2.0.4
- **来源摘要:** CLI toolkit for working with Akamai's APIs
- **主页:** <https://github.com/akamai/cli>
- **仓库:** <https://github.com/akamai/cli>
- **上游文档:** <https://github.com/akamai/cli>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/akamai/cli/archive/refs/tags/v2.0.4.tar.gz>
- **最后更新:** 2026-06-09T09:09:23Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- akamai (cli)
- akamai (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

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

Akamai CLI is Akamai's command-line framework for configuring Akamai platform products and APIs. The base `akamai` command is intentionally extensible: users install product-specific command packages, and those packages share conventions for authentication, command naming, and updates.

### 项目历史

The public GitHub repository was created in May 2017. The README describes a base CLI that can install ready-to-use product packages or serve as a framework for custom solutions written in Go, Python, or JavaScript.

The project adopted a package-oriented model inside the CLI itself. Built-in commands such as `install`, `uninstall`, `update`, `upgrade`, `search`, and `config` manage command packages under `$HOME/.akamai-cli`, while product packages use executable naming conventions such as `akamai-<command>`.

### 采用历史

Adoption follows Akamai's developer and operations audience. Official instructions cover release binaries, Homebrew, Docker images, and building from source, which made the CLI available both to local workstation users and CI/container users.

The README explicitly documents the Homebrew formula path for users who want package-manager updates, while non-Homebrew installs can use the CLI's own upgrade check introduced for v0.3.0 or later.

### 使用方式

The central operational file is `~/.edgerc`, the standard EdgeGrid credential file. Akamai-branded packages use it by default, and commands can override the file and section with `--edgerc` and `--section`.

A common workflow is to install the base `akamai` command, install a product package such as Property Manager, then run product-specific commands with shared global flags such as `--accountkey`, `--edgerc`, and `--section`.

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

Akamai CLI is interesting to package nerds because it is both a package and a package host. Homebrew installs the base binary, and the binary then manages its own Git-backed command packages in `$HOME/.akamai-cli`.

That layered model is common among vendor CLIs with broad API surfaces: keep the base command stable, then let product teams ship smaller command repositories without turning one formula into a giant monolith.

### 时间线

- 2017: Public `akamai/cli` repository created.
- v0.3.0 and later: README documents first-run automatic upgrade checks for non-Homebrew installs.
- 2026: Repository metadata still points users to Akamai developer CLI documentation.

### Related projects

- Akamai EdgeGrid: the authentication scheme and `.edgerc` credential format used by Akamai-branded CLI packages.
- akamai-docker: official Docker images that bundle the CLI and public packages.
- Akamai product CLI packages: GitHub repositories named with the `cli-` convention and installable through `akamai install`.

### 来源

- <https://api.github.com/repos/akamai/cli>
- <https://github.com/akamai/cli>
- <https://techdocs.akamai.com/developer/docs/about-clis>
- input source_facts.repo


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: ~/.akamai-cli/config

## Credential files

- Unix: ~/.edgerc
## 源数据库详情

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


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [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.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [linode-cli](https://www.automicvault.com/zh-hans/pkg/brew/linode-cli/) - Shares av.db curated category or tags: akamai, api, cli, cloud-infrastructure.
- [flarectl](https://www.automicvault.com/zh-hans/pkg/brew/flarectl/) - Shares av.db curated category or tags: cdn, cli, cloud-infrastructure.
- [aiven-client](https://www.automicvault.com/zh-hans/pkg/brew/aiven-client/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [aliyun-cli](https://www.automicvault.com/zh-hans/pkg/brew/aliyun-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [filen-cli](https://www.automicvault.com/zh-hans/pkg/brew/filen-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [firebase-cli](https://www.automicvault.com/zh-hans/pkg/brew/firebase-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [firefly](https://www.automicvault.com/zh-hans/pkg/brew/firefly/) - Shares av.db curated category or tags: cli, cloud-infrastructure.
- [fn](https://www.automicvault.com/zh-hans/pkg/brew/fn/) - Shares av.db curated category or tags: cli, cloud-infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/akamai.yml](https://github.com/automic-vault/db/blob/main/combined/akamai.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
- cross-ecosystem install command graph
- curated agent safety answer
