# 使用 Homebrew, MacPorts, Nix 安装 rmtrash

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

## 安装

```sh
sudo av install brew:rmtrash
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rmtrash
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rmtrash
```

  证据: MacPorts ports tree: sysutils/rmtrash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#rmtrash
```

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

## 软件包事实

- **软件包键:** brew:rmtrash
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rmtrash>
- **版本:** 0.8.0
- **来源摘要:** Move files and directories to the trash
- **主页:** <https://github.com/TBXark/rmtrash>
- **仓库:** <https://github.com/TBXark/rmtrash>
- **许可证:** MIT
- **源码归档:** <https://github.com/TBXark/rmtrash/archive/refs/tags/0.8.0.tar.gz>
- **最后更新:** 2026-07-18T09:45:15Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- rmtrash (cli)
- rmtrash (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.0
- 管理器更新时间: 2026-07-18
- 本地数据: OK
- 上游仓库: https://github.com/TBXark/rmtrash
- 检测到的最新版本: 0.8.0 (当前)

## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** rmtrash
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - rmtrash: normalized package name match | nixpkgs package indexes: pkgs/by-name/rm/rmtrash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - rmtrash: normalized package name match | MacPorts ports tree: sysutils/rmtrash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [rmw](https://pkg.so/zh-hans/brew/rmw/) - Shares pkgdb curated category or tags: cli, file-deletion, file-management, system, trash.
- [fileicon](https://pkg.so/zh-hans/brew/fileicon/) - Shares pkgdb curated category or tags: cli, file-management, macos, system.
- [mmv](https://pkg.so/zh-hans/brew/mmv/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [safe-rm](https://pkg.so/zh-hans/brew/safe-rm/) - Shares pkgdb curated category or tags: cli, file-deletion, file-management, system.
- [rnr](https://pkg.so/zh-hans/brew/rnr/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [periscope](https://pkg.so/zh-hans/brew/periscope/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [ddh](https://pkg.so/zh-hans/brew/ddh/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [brename](https://pkg.so/zh-hans/brew/brename/) - Shares pkgdb curated category or tags: cli, file-management, system.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
