# 使用 Homebrew, chocolatey, MacPorts, Nix, pacman, zypper, scoop, winget 安装 eksctl

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

## 安装

```sh
sudo av install brew:eksctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install eksctl
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install eksctl
```

  证据: MacPorts ports tree: sysutils/eksctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#eksctl
```

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

- pacman (92%):

```sh
sudo pacman -S eksctl
```

  证据: Arch Linux sync databases: eksctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install eksctl
```

  证据: openSUSE Tumbleweed package metadata: eksctl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install eksctl
```

  证据: Chocolatey community package catalog: eksctl from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','edrawings-viewer'

- Scoop (92%):

```sh
scoop install main/eksctl
```

  证据: Scoop official bucket manifest trees: bucket/eksctl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id eksctl.eksctl -e
```

  证据: Windows Package Manager source index: eksctl.eksctl from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:eksctl
- **软件包管理器:** Homebrew
- **版本:** 0.229.0
- **来源摘要:** Simple command-line tool for creating clusters on Amazon EKS
- **主页:** <https://eksctl.io>
- **仓库:** <https://github.com/eksctl-io/eksctl>
- **最后更新:** 2026-07-02T00:04:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- eksctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

eksctl is the official command-line tool for Amazon EKS, the managed Kubernetes service on AWS. It is written in Go and turns the multi-service work of creating and operating EKS clusters into a small set of commands and declarative YAML configuration.

### 项目历史

The eksctl repository was created in May 2018, shortly after Amazon EKS became a practical target for Kubernetes operators. The project positioned itself as a simple way to create an EKS cluster in minutes with one command, while using AWS CloudFormation underneath for the infrastructure lifecycle.

Over time eksctl grew from cluster creation into a broader EKS operations tool: node group lifecycle, cluster updates, VPC configuration, IAM integration, add-on management, Fargate profiles, GPU and Spot support, and kubeconfig writing all became part of the documented feature set.

### 采用历史

eksctl became part of the standard EKS workflow because it matched how Kubernetes users already worked: command-line first, declarative when needed, and compatible with kubectl, AWS IAM authentication, and AWS credentials. AWS documentation now describes eksctl as a utility for creating, managing, and operating EKS clusters, and the GitHub project publishes frequent official releases.

Its adoption is visible in the ecosystem around it: official releases ship binaries and container images, the README documents third-party installers such as Homebrew, MacPorts, Chocolatey, and Scoop, and the tool is referenced by AWS EKS getting-started flows.

### 使用方式

The classic use case is `eksctl create cluster`, which provisions an EKS control plane, node groups, networking, IAM resources, and kubeconfig entries with sensible defaults. More advanced users provide a YAML cluster config to make cluster creation repeatable across teams or CI systems.

Operators also use eksctl for day-two tasks: listing and deleting clusters, scaling or draining node groups, updating clusters, configuring endpoint access, managing add-on policies, and inspecting the CloudFormation stacks that back a cluster.

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

For package-manager users, eksctl is a good example of a cloud CLI that became important enough to be distributed everywhere while still being primarily consumed as a single static binary. Installing it with Homebrew or another package manager gives Kubernetes users a fast path from a shell prompt to a working EKS cluster.

### 时间线

- 2018: GitHub repository created for the EKS CLI.
- 2018: eksctl documented as a Go CLI using CloudFormation to create Amazon EKS clusters.
- 2026: Official releases continue on a roughly monthly cadence, with v0.228.0 published in June 2026.

### Related projects

- eksctl sits beside kubectl, aws-iam-authenticator, the AWS CLI, CloudFormation, and infrastructure-as-code tools such as Terraform. It is narrower than a general IaC system, but deeper on EKS-specific lifecycle commands.

### 来源

- <https://github.com/eksctl-io/eksctl>
- <https://raw.githubusercontent.com/eksctl-io/eksctl/main/README.md>
- <https://docs.aws.amazon.com/eks/latest/eksctl/what-is-eksctl.html>
- <https://api.github.com/repos/eksctl-io/eksctl>
- <https://api.github.com/repos/eksctl-io/eksctl/releases>


## 安全说明

infrastructure mutation or orchestration signal.

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


## 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: cluster.yaml
## 其他软件包管理器记录

- Nix - eksctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/ek/eksctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - eksctl - 0.229.0-1: normalized package name match | Arch Linux sync databases: eksctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command line tool for creating clusters on Amazon EKS | https://github.com/eksctl-io/eksctl
- zypper - eksctl - 0.229.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: eksctl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The official CLI for Amazon EKS | https://github.com/eksctl-io/eksctl
- zypper - eksctl-bash-completion - 0.229.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: eksctl-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for eksctl | https://github.com/eksctl-io/eksctl
- zypper - eksctl-fish-completion - 0.229.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: eksctl-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for eksctl | https://github.com/eksctl-io/eksctl
- zypper - eksctl-zsh-completion - 0.229.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: eksctl-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for eksctl | https://github.com/eksctl-io/eksctl
- MacPorts - eksctl: normalized package name match | MacPorts ports tree: sysutils/eksctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - eksctl: normalized package name match | Chocolatey community package catalog: eksctl from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','edrawings-viewer'
- Scoop - main/eksctl: normalized package name match | Scoop official bucket manifest trees: bucket/eksctl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - eksctl.eksctl: normalized package name match | Windows Package Manager source index: eksctl.eksctl from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/eksctl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/eksctl.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
