# 使用 Homebrew, apt, Nix 安装 egctl

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

## 安装

```sh
sudo av install brew:egctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install egctl
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install egctl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#egctl
```

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

## 软件包事实

- **软件包键:** brew:egctl
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/egctl>
- **版本:** 1.8.2
- **来源摘要:** Command-line utility for operating Envoy Gateway
- **主页:** <https://gateway.envoyproxy.io/>
- **仓库:** <https://github.com/envoyproxy/gateway>
- **上游文档:** <https://gateway.envoyproxy.io/docs>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/envoyproxy/gateway/archive/refs/tags/v1.8.2.tar.gz>
- **最后更新:** 2026-07-01T10:18:29Z
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- egctl (cli)
- egctl (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 1.8.2
- 管理器更新时间: 2026-07-01
- 本地数据: OK
- 上游仓库: https://github.com/envoyproxy/gateway
- 检测到的最新版本: v1.8.2 (当前)
## 项目历史与用法

egctl is the command-line utility shipped with Envoy Gateway, the Envoy project for managing Envoy Proxy as a standalone or Kubernetes application gateway. Its history is therefore tied to Envoy Gateway's rise around Kubernetes Gateway API rather than to an independent CLI lineage.

### 项目历史

Envoy Gateway was introduced as an open source project for dynamically provisioning and configuring Envoy Proxy from Gateway API resources. The egctl binary became part of the release artifacts for operators who need a packaged command-line surface alongside the controller and Kubernetes manifests.

The earliest public Envoy Gateway release on GitHub was v0.1.0 in May 2022. Releases quickly added prebuilt egctl archives for common operating systems, making the CLI easy for Homebrew and other package managers to distribute separately from the full Kubernetes install manifests.

### 采用历史

egctl adoption follows Envoy Gateway adoption in cloud-native shops experimenting with or standardizing on Kubernetes Gateway API. The input package metadata lists Homebrew, Debian, Ubuntu, and Nix, which fits a tool used by platform engineers across laptops, CI images, and operations hosts.

### 使用方式

egctl is used for operating and inspecting Envoy Gateway deployments, complementing kubectl and the Gateway API objects that actually drive configuration. It is a package-manager-friendly way to put Envoy Gateway diagnostics and operator commands on a workstation without installing the whole project from source.

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

For package nerds, egctl is a neat example of a sub-binary packaged out of a larger cloud-native controller repository. Its release assets sit next to CRDs and install manifests, so packaging it is about extracting the useful operator CLI from a broader Kubernetes release train.

### 时间线

- 2022-05-13: Envoy Gateway v0.1.0 prerelease appears.
- 2022-10-20: Envoy Gateway v0.2.0 is published as a non-prerelease.
- 2023-11-02: v0.6.0 shows the project maturing through 2023.
- 2026-06-05: v1.8.1 release includes egctl archives for Linux, macOS, and Windows.

### Related projects

- Envoy Proxy is the data-plane proxy managed by Envoy Gateway.
- Kubernetes Gateway API provides the resource model that Envoy Gateway watches and implements.
- kubectl remains the general Kubernetes CLI that egctl complements for Envoy Gateway-specific operations.

### 来源

- <https://github.com/envoyproxy/gateway#readme>
- <https://gateway.envoyproxy.io/docs>
- <https://gateway.envoyproxy.io/latest/tasks/operations/egctl/>
- <https://github.com/envoyproxy/gateway/releases>


## 安全说明

没有找到 egctl 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- Debian apt - egctl - 1:0.1-1.1: normalized package name match | Debian stable package indexes: egctl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | control state of EnerGenie Programmable surge protector | https://github.com/unterwulf/egctl
- Nix - egctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/eg/egctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - egctl - 1:0.1-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: egctl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | control state of EnerGenie Programmable surge protector | https://github.com/unterwulf/egctl


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure 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.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [glooctl](https://www.automicvault.com/zh-hans/pkg/brew/glooctl/) - Shares av.db curated category or tags: api-gateway, cli, cloud-infrastructure, kubernetes.
- [cloud-provider-kind](https://www.automicvault.com/zh-hans/pkg/brew/cloud-provider-kind/) - Shares av.db curated category or tags: cli, cloud-infrastructure, gateway-api, kubernetes.
- [crossplane](https://www.automicvault.com/zh-hans/pkg/brew/crossplane/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloud-native, kubernetes.
- [devspace](https://www.automicvault.com/zh-hans/pkg/brew/devspace/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloud-native, kubernetes.
- [epinio](https://www.automicvault.com/zh-hans/pkg/brew/epinio/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloud-native, kubernetes.
- [glasskube](https://www.automicvault.com/zh-hans/pkg/brew/glasskube/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cloud-native, kubernetes.
- [gwctl](https://www.automicvault.com/zh-hans/pkg/brew/gwctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, gateway-api, kubernetes.
- [ingress2gateway](https://www.automicvault.com/zh-hans/pkg/brew/ingress2gateway/) - Shares av.db curated category or tags: cli, cloud-infrastructure, gateway-api, kubernetes.
- [kyma-cli](https://www.automicvault.com/zh-hans/pkg/brew/kyma-cli/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cloud-native, command-line.
- [litmusctl](https://www.automicvault.com/zh-hans/pkg/brew/litmusctl/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cloud-native, command-line.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
