# fork-cleaner を Homebrew, MacPorts, Nix, winget でインストール

fork-cleaner のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:fork-cleaner
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install fork-cleaner
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fork-cleaner
```

  証拠: MacPorts ports tree: devel/fork-cleaner/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#fork-cleaner
```

  証拠: nixpkgs package indexes: pkgs/by-name/fo/fork-cleaner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id caarlos0.fork-cleaner -e
```

  証拠: Windows Package Manager source index: caarlos0.fork-cleaner from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:fork-cleaner
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.4.0
- **ソース概要:** Cleans up old and inactive forks on your GitHub account
- **ホームページ:** <https://github.com/caarlos0/fork-cleaner>
- **リポジトリ:** <https://github.com/caarlos0/fork-cleaner>
- **最終更新:** 2026-07-26T11:37:58+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- fork-cleaner (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.4.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2016: GitHub repository created.
- 2021: 2.0-series releases published.
- 2026: 2.4.0 release published.

### Related projects

- The project is related to GitHub account and repository maintenance tools, and its README links to GoReleaser as part of its release/distribution setup.

### ソース

- <https://api.github.com/repos/caarlos0/fork-cleaner>
- <https://api.github.com/repos/caarlos0/fork-cleaner/releases?per_page=20>
- <https://github.com/caarlos0/fork-cleaner>
- <https://raw.githubusercontent.com/caarlos0/fork-cleaner/main/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - fork-cleaner: normalized package name match | nixpkgs package indexes: pkgs/by-name/fo/fork-cleaner/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - fork-cleaner: normalized package name match | MacPorts ports tree: devel/fork-cleaner/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - caarlos0.fork-cleaner: normalized package name match | Windows Package Manager source index: caarlos0.fork-cleaner from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/fork-cleaner.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fork-cleaner.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
