# 使用 Homebrew, apt, MacPorts, Nix, scoop 安装 aws-nuke

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

## 安装

```sh
sudo av install brew:aws-nuke
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aws-nuke
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install aws-nuke
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install aws-nuke
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#aws-nuke
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/aws-nuke
```

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

## 软件包事实

- **软件包键:** brew:aws-nuke
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/aws-nuke>
- **版本:** 3.65.0
- **来源摘要:** Nuke a whole AWS account and delete all its resources
- **主页:** <https://aws-nuke.ekristen.dev>
- **仓库:** <https://github.com/ekristen/aws-nuke>
- **上游文档:** <https://aws-nuke.ekristen.dev/>
- **许可证:** MIT
- **源码归档:** <https://github.com/ekristen/aws-nuke/archive/refs/tags/v3.65.0.tar.gz>
- **最后更新:** 2026-06-15T10:20:10-04:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- aws-nuke (cli)
- aws-nuke (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.65.0
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://github.com/ekristen/aws-nuke
- 检测到的最新版本: v3.65.0 (当前)
## 项目历史与用法

aws-nuke is a destructive AWS account cleanup tool for deleting resources across an account. It is designed for controlled teardown workflows rather than routine administration.

### 项目历史

The repository history starts in June 2016 with commits adding deletion support for EC2 instances, Auto Scaling groups, security groups, Route 53 records, and VPCs. The current ekristen project documents itself as a full fork of the original rebuy-de/aws-nuke project.

The fork's README says the fork became necessary because the original maintainers had limited time and contribution feedback cycles were slow. Version 3 rewrote the tool around libnuke, a shared library intended to avoid maintaining duplicated cleanup logic across cloud-specific nuke tools.

### 采用历史

aws-nuke became a recognizable tool in AWS-heavy development and test environments because it automates the otherwise tedious process of finding and deleting many resource types. Its own warning documentation emphasizes blocklists, explicit account configuration, and central management of the config file because mistakes can delete live infrastructure.

The project is packaged through Homebrew and several other package managers in the supplied facts, which fits its use as an operator CLI: teams want a pinned binary available on developer laptops, CI jobs, and ephemeral cleanup machines.

### 使用方式

Use centers on a YAML configuration file passed with --config or -c. The docs describe the config as user supplied YAML loaded from the path specified by the --config flag, with the CLI usage showing config.yaml as the default.

For AWS authentication, the official docs describe static credential flags, environment variables, and shared AWS config/credential files normally located at ~/.aws/config and ~/.aws/credentials. The CLI can also use AWS profiles and assume-role settings.

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

Package nerds care about aws-nuke because it is one of the rare packageable CLIs whose whole purpose is irreversible infrastructure deletion. Its formula is not just a convenience wrapper; distributing the right upstream and version matters for supported AWS resource coverage and safety controls.

### 时间线

- 2016: Initial aws-nuke commits add deletion support for core AWS resources.
- 2017: v1.0 tag appears in the public git history.
- 2018: v2.0.0 tag appears.
- 2025: libnuke 1.x dependency work lands in the current fork.
- 2026: v3.x tags show continued active releases.

### Related projects

- rebuy-de/aws-nuke is the original project acknowledged by the current fork.
- ekristen/libnuke is the shared core library used by version 3.

### 来源

- <https://aws-nuke.ekristen.dev/auth/>
- <https://aws-nuke.ekristen.dev/cli-usage/>
- <https://aws-nuke.ekristen.dev/config/>
- <https://github.com/ekristen/aws-nuke#readme>
- official git history and tags from https://github.com/ekristen/aws-nuke


## 安全说明

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



## 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: config.yaml

## Credential files

- Unix: ~/.aws/config, ~/.aws/credentials
- Windows: C:\Users\USERNAME\.aws\config, C:\Users\USERNAME\.aws\credentials
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aws-nuke
- **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 - aws-nuke - 2.16.0-1+b19: normalized package name match | Debian stable package indexes: aws-nuke from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Delete a whole AWS account and all resources | https://github.com/rebuy-de/aws-nuke
- Nix - aws-nuke: normalized package name match | nixpkgs package indexes: pkgs/by-name/aw/aws-nuke/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - aws-nuke - 2.16.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: aws-nuke from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Delete a whole AWS account and all resources | https://github.com/rebuy-de/aws-nuke
- MacPorts - aws-nuke: normalized package name match | MacPorts ports tree: sysutils/aws-nuke/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/aws-nuke: normalized package name match | Scoop official bucket manifest trees: bucket/aws-nuke.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [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.
- [amazon-ecs-cli](https://www.automicvault.com/zh-hans/pkg/brew/amazon-ecs-cli/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-amplify](https://www.automicvault.com/zh-hans/pkg/brew/aws-amplify/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-cdk](https://www.automicvault.com/zh-hans/pkg/brew/aws-cdk/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-console](https://www.automicvault.com/zh-hans/pkg/brew/aws-console/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-elasticbeanstalk](https://www.automicvault.com/zh-hans/pkg/brew/aws-elasticbeanstalk/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-es-proxy](https://www.automicvault.com/zh-hans/pkg/brew/aws-es-proxy/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-google-auth](https://www.automicvault.com/zh-hans/pkg/brew/aws-google-auth/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-iam-authenticator](https://www.automicvault.com/zh-hans/pkg/brew/aws-iam-authenticator/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/aws-nuke.yml](https://github.com/automic-vault/db/blob/main/combined/aws-nuke.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
- external package-manager database matches
- cross-ecosystem install command graph
