Skip to content

Installation

  • Go 1.26 or later
  • macOS or Linux
Terminal window
go install github.com/LarsArtmann/clean-wizard@latest

The binary is placed in $GOPATH/bin (typically ~/go/bin).

Terminal window
git clone https://github.com/LarsArtmann/clean-wizard.git
cd clean-wizard
go build -o clean-wizard ./cmd/clean-wizard/

Note: Clean Wizard uses encoding/json/v2. If building outside the Nix devShell, set GOEXPERIMENT=jsonv2:

Terminal window
GOEXPERIMENT=jsonv2 go build -o clean-wizard ./cmd/clean-wizard/

If using Nix flakes, enter the devShell which sets GOEXPERIMENT automatically:

Terminal window
nix develop
go build -o clean-wizard ./cmd/clean-wizard/
Terminal window
clean-wizard --help

You should see the CLI help with clean and scan commands.