macOS
brew install fork-cleanerlocal Homebrew formula metadata
sudo port install fork-cleanerMacPorts ports tree · devel/fork-cleaner/Portfile · 来源: api.github.com
安装
brew install fork-cleanerlocal Homebrew formula metadata
sudo port install fork-cleanerMacPorts ports tree · devel/fork-cleaner/Portfile · 来源: api.github.com
nix profile install nixpkgs#fork-cleanernixpkgs package indexes · pkgs/by-name/fo/fork-cleaner/package.nix · 来源: api.github.com
winget install --id caarlos0.fork-cleaner -eWindows Package Manager source index · caarlos0.fork-cleaner · 来源: cdn.winget.microsoft.com
概览
Cleans up old and inactive forks on your GitHub account
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fork-cleaner | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/caarlos0/fork-cleaner
安装元数据
| 软件包键 | brew:fork-cleaner |
|---|---|
| 版本 | 2.4.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/fork-cleaner |
| 主页 | https://github.com/caarlos0/fork-cleaner |
| 仓库 | https://github.com/caarlos0/fork-cleaner |
| 上游文档 | https://github.com/caarlos0/fork-cleaner#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/caarlos0/fork-cleaner/archive/refs/tags/v2.4.0.tar.gz |
| 最后更新 | 2026-07-16T11:13:54+09:00 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
fork-cleaner
nix profile install nixpkgs#fork-cleanerfork-cleaner
sudo port install fork-cleanercaarlos0.fork-cleaner
winget install --id caarlos0.fork-cleaner -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.