# macos-trash mit Homebrew, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für macos-trash in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:macos-trash
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install macos-trash
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install macos-trash
```

  Evidenz: MacPorts ports tree: sysutils/macos-trash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:macos-trash
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/macos-trash>
- **Version:** 3.0.0
- **Quellzusammenfassung:** Move files and folders to the trash
- **Homepage:** <https://github.com/sindresorhus/macos-trash>
- **Repository:** <https://github.com/sindresorhus/macos-trash>
- **Upstream-Dokumentation:** <https://github.com/sindresorhus/macos-trash#readme>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/sindresorhus/macos-trash/archive/refs/tags/v3.0.0.tar.gz>
- **Generiert:** 2026-07-08T07:18:31+00:00

## Executables

- trash (cli)
- trash (Alias)

## Von macOS bereitgestellte Bibliotheken

- swift

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 3.0.0
- lokale Daten: OK
- Upstream-Repository: https://github.com/sindresorhus/macos-trash
- neueste erkannte Version: v3.0.0 (aktuell)
- Info: No package-manager update timestamp was available.
## Projektgeschichte und Nutzung

macos-trash is a Swift command-line tool that moves files and folders to the macOS Trash instead of deleting them directly.

### Projektgeschichte

The official repository was created in January 2015. The current README describes a macOS 13-or-later utility and notes that, although macOS 15 added a built-in `trash` command, this package still provides an interactive flag and fixes Put Back behavior.

### Adoptionsgeschichte

The README documents installation through Homebrew, Mint, and manual binary download, while the batch input records Homebrew and MacPorts packaging. Repository metadata captured during this run showed hundreds of GitHub stars, reflecting steady interest in safer command-line deletion on macOS.

### Wie es verwendet wird

The documented CLI shape is `trash [--help | -h] [--version | -v] [--interactive | -i] <path> ...`. The README also suggests aliasing `rm` to `trash` for users who want a safer default in their shell.

### Warum Paket-Nerds sich dafür interessieren

macos-trash fills the long-standing gap between Unix `rm` and Finder's Trash. For package users, it is the kind of small native CLI that makes scripts safer while preserving macOS-specific behavior such as recoverable trash items.

### Zeitleiste

- 2015: Official GitHub repository created.
- 2024: macOS 15 introduced a built-in `trash` command, according to the project README.
- 2026: Repository activity continued through commits pushed to the default branch.

### Related projects

- The README links related projects including the cross-platform Node.js `trash`, `empty-trash`, `macos-wallpaper`, and `do-not-disturb`.

### Quellen

- <https://api.github.com/repos/sindresorhus/macos-trash>
- <https://github.com/sindresorhus/macos-trash>
- <https://github.com/sindresorhus/macos-trash#readme>
- source_facts.package-manager


## Sicherheitshinweise

Für macos-trash wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- MacPorts - macos-trash: normalized package name match | MacPorts ports tree: sysutils/macos-trash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- MacPorts - trash: installed executable or alias match | MacPorts ports tree: sysutils/trash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/de/pkg/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [trash-cli](https://www.automicvault.com/de/pkg/npm/trash-cli/) - Executable or command metadata overlaps with this package. Shared terms: files, folders, move, trash.
- [rmtrash](https://www.automicvault.com/de/pkg/brew/rmtrash/) - Local package facts share a topical domain. Shared terms: files, move, trash.
- [fileicon](https://www.automicvault.com/de/pkg/brew/fileicon/) - Local package facts share a topical domain. Shared terms: files, folders.

## Combined YAML source

View the package source record on GitHub. [combined/macos-trash.yml](https://github.com/automic-vault/db/blob/main/combined/macos-trash.yml)


## Quellen

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
