macOS
brew install fork-cleanerlocal Homebrew formula metadata
sudo port install fork-cleanerMacPorts ports tree · devel/fork-cleaner/Portfile · source: api.github.com
brew
Cleans up old and inactive forks on your GitHub account. Version 2.4.0 via Homebrew; verified 2026-07-16. Also installable with nix: nix profile install nixpkgs#fork-cleaner.
install
brew install fork-cleanerlocal Homebrew formula metadata
sudo port install fork-cleanerMacPorts ports tree · devel/fork-cleaner/Portfile · source: api.github.com
nix profile install nixpkgs#fork-cleanernixpkgs package indexes · pkgs/by-name/fo/fork-cleaner/package.nix · source: api.github.com
winget install --id caarlos0.fork-cleaner -eWindows Package Manager source index · caarlos0.fork-cleaner · source: cdn.winget.microsoft.com
overview
Cleans up old and inactive forks on your GitHub account
history
fork-cleaner is a small Go command-line utility for cleaning old and inactive forks from a GitHub account. Its official README frames it as an interactive maintenance tool that enumerates forked repositories, checks upstream repository state, and lets the user pass a GitHub token with repository deletion permissions.
The GitHub repository was created in October 2016 and is maintained under the caarlos0 account. The project follows the author's usual Go CLI release style, with GitHub releases and binary/package installation paths advertised from the README.
Official installation instructions cover Homebrew, snap, apt, yum, distro packages, release binaries, and source builds, indicating that the tool was packaged for several CLI distribution channels rather than only as source code.
Users create a GitHub personal access token with repository and delete-repository scopes, pass it with the --token flag, and let fork-cleaner list forked repositories oldest first. A --skip-upstream option exists for accounts with many forks or GitHub API rate-limit pressure.
fork-cleaner is notable as a purpose-built repository-hygiene CLI: it packages an otherwise manual GitHub-account cleanup workflow into a small installable binary, with GoReleaser-style binary distribution and multiple package-manager entry points.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fork-cleaner | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/caarlos0/fork-cleaner
install metadata
| Package key | brew:fork-cleaner |
|---|---|
| Version | 2.4.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fork-cleaner |
| Homepage | https://github.com/caarlos0/fork-cleaner |
| Repository | https://github.com/caarlos0/fork-cleaner |
| Upstream docs | https://github.com/caarlos0/fork-cleaner#readme |
| License | MIT |
| Source archive | https://github.com/caarlos0/fork-cleaner/archive/refs/tags/v2.4.0.tar.gz |
| Last updated | 2026-07-16T11:13:54+09:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fork-cleaner |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
fork-cleaner
nix profile install nixpkgs#fork-cleanerfork-cleaner
sudo port install fork-cleanercaarlos0.fork-cleaner
winget install --id caarlos0.fork-cleaner -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.