Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 2.48 KB

installation.md

File metadata and controls

73 lines (50 loc) · 2.48 KB

Install

Preferred installation order is the following:

  1. GitHub Release
  2. Homebrew Tap
  3. Homebrew Core

Docker images are also available via the GitHub Container Registry.

GitHub Releases (preferred)

!!! success - "Recommended" This supports all operating systems and most architectures.

You can download pre-compiled binaries from the releases page, or you can use my tool distillery to download and install the latest version.

dist install ekristen/aws-nuke

Homebrew Tap (macOS)

!!! info I control this tap, and it sources the binaries directly from the GitHub releases. However, it only supports MacOS and it tends to lag a bit behind.

brew install ekristen/tap/aws-nuke

Homebrew Core (macOS/Linux)

!!! note I do not control the Homebrew Core formula, so it may not be up to date. Additionally, it is not compiled with goreleaser, instead it is compiled with the Homebrew build system which does not build it in the same way, for example it does not compile it statically.

brew install aws-nuke

Docker

Registries:

Source

To compile aws-nuke from source you need a working Golang development environment and goreleaser.

aws-nuke uses go modules and so the clone path should not matter. Then simply change directory into the clone and run:

goreleaser build --clean --snapshot --single-target

Verifying Binaries

All the binaries are signed with cosign and are signed with keyless signatures. You can verify the build using the public transparency log and the cosign binary.

Note: swap out VERSION with vX.Y.Z.

cosign verify-blob \
  --signature https://github.com/ekristen/aws-nuke/releases/download/VERSION/checksums.txt.sig \
  --certificate https://github.com/ekristen/aws-nuke/releases/download/VERSION/checksums.txt.pem \
  --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
  --certificate-identity "https://github.com/ekristen/aws-nuke/.github/workflows/goreleaser.yml@refs/tags/VERSION" \
  https://github.com/ekristen/aws-nuke/releases/download/VERSION/checksums.txt