# 使用 Homebrew 安装 gwctl

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

## 安装

```sh
sudo av install brew:gwctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gwctl
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gwctl
- **软件包管理器:** Homebrew
- **版本:** 0.2.0
- **来源摘要:** CLI for managing and inspecting Gateway API resources in Kubernetes clusters
- **主页:** <https://github.com/kubernetes-sigs/gwctl>
- **仓库:** <https://github.com/kubernetes-sigs/gwctl>
- **最后更新:** 2026-07-27T14:57:53+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gwctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gwctl is a Kubernetes SIGs command-line tool for managing and understanding Kubernetes Gateway API resources. Its README describes create, view, describe, analyze, delete, and graphing workflows for Gateway API resources and other Kubernetes objects.

### 项目历史

The public GitHub repository was created on 2024-09-12 under kubernetes-sigs. The README places the tool inside the Gateway API ecosystem and explicitly marks it as an experimental Gateway API feature, meaning incompatible changes are expected while the design settles.

GitHub releases show v0.1.0 on 2024-11-01 and v0.2.0 on 2025-11-28. That release cadence and the experimental warning fit a young Kubernetes-adjacent CLI being iterated alongside Gateway API resource patterns.

### 采用历史

gwctl's adoption path is through the Kubernetes SIGs organization and the Gateway API community rather than through a standalone vendor. The README says discussion happens in the same Slack channel and community meetings as the rest of the Gateway API subproject.

Homebrew packaging gives macOS and Linux users a short install path, while source builds use Go, Git, and make. For cluster operators, this places gwctl beside kubectl as a specialized inspection and analysis tool for Gateway API topologies.

### 使用方式

The README demonstrates applying Gateway API CRDs, loading sample resources, listing GatewayClasses, Gateways, HTTPRoutes, Services, policies, pods, and CRDs, and describing Gateway resources with related routes, backends, and policy information.

gwctl also has analysis and graphing roles: gwctl analyze can evaluate resource definitions before creation, and gwctl get -o graph emits DOT graphs that visualize relationships among Gateway API resources.

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

gwctl is package-manager relevant because it packages a specialized Kubernetes API understanding into one CLI. Rather than being another generic kubectl wrapper, it encodes Gateway API relationships, policy inheritance, warnings, and graph output, which are hard to see from raw YAML alone.

### 时间线

- 2024-09-12: Public kubernetes-sigs/gwctl repository created.
- 2024-11-01: v0.1.0 GitHub release published.
- 2025-11-28: v0.2.0 GitHub release published.
- 2026: README continues to describe gwctl as an experimental Gateway API feature.

### Related projects

- Kubernetes: gwctl manages resources in Kubernetes clusters.
- Gateway API: gwctl is developed around Gateway API resource models and community channels.
- kubectl and kustomize: gwctl examples use Kubernetes-style resource operations and kustomize URLs.

### 来源

- <https://api.github.com/repos/kubernetes-sigs/gwctl>
- <https://api.github.com/repos/kubernetes-sigs/gwctl/releases?per_page=100>
- <https://gateway-api.sigs.k8s.io/community/>
- <https://gateway-api.sigs.k8s.io/concepts/versioning/#release-channels-eg-experimental-standard>
- <https://github.com/kubernetes-sigs/gwctl>
- <https://raw.githubusercontent.com/kubernetes-sigs/gwctl/main/README.md>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Combined YAML source

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


## 来源

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