# 使用 Homebrew, Nix 安装 clean

查看 clean 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:clean
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install clean
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#clean
```

  证据: nixpkgs package indexes: pkgs/by-name/cl/clean/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:clean
- **软件包管理器:** Homebrew
- **版本:** 3.4
- **来源摘要:** Search for files matching a regex and delete them
- **主页:** <https://clean.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- clean (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.4
## 项目历史与用法

Nifty Clean is a small Unix/POSIX C utility for finding backup-style files using regular expressions from a user rc file and deleting them interactively or in batch mode.

### 项目历史

The SourceForge project describes Clean as public-domain C software targeting Unix/POSIX systems. Its project registration date places it in the early-2000s SourceForge era of small single-purpose command-line utilities.

### 采用历史

Its packaging in Homebrew and Nix reflects continued interest in tiny maintenance commands even when upstream activity is low.

### 使用方式

Users define regexes in `~/.cleanrc`, then run the `clean` executable to locate and remove matching files, with optional per-file confirmation or batch deletion.

### 为什么软件包爱好者会关心

Clean is the kind of small, public-domain Unix utility package that package-manager catalogs preserve: narrow scope, rc-file configuration, no service dependency, and useful behavior for shell-driven file housekeeping.

### 时间线

- 2003-05-31: SourceForge project registered.
- 2016-01-20: SourceForge project page lists the last update.

### 来源

- Official SourceForge project page: description, license, categories, registration date, and last update.
- Official project homepage: clean.sourceforge.net.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.cleanrc
## 其他软件包管理器记录

- Nix - clean: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/clean/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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