# 使用 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
- **版本:** 1.8.3
- **来源摘要:** Command-line utility for operating Envoy Gateway
- **主页:** <https://gateway.envoyproxy.io/>
- **仓库:** <https://github.com/envoyproxy/gateway>
- **最后更新:** 2026-07-26T04:11:37+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- egctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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。


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

- 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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
