Cleans up old and inactive forks on your GitHub account.
You'll need to create a personal access token with
Then, download the latest release and execute the binary as in:
./fork-cleaner --token "my github token"
Fork-Cleaner will show you all your forks, you can then check which you want to delete or not on a TUI:
brew install caarlos0/tap/fork-cleaner
snap install fork-cleaner
echo 'deb [trusted=yes] https://repo.caarlos0.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list sudo apt update sudo apt install fork-cleaner
echo '[caarlos0] name=caarlos0 baseurl=https://repo.caarlos0.dev/yum/ enabled=1 gpgcheck=0' | sudo tee /etc/yum.repos.d/caarlos0.repo sudo yum install fork-cleaner
.rpm from the releases page and install with the appropriate commands.
Download the pre-compiled binaries from the releases page or clone the repo build from source.