trash-cli

Install command:
brew install trash-cli

Command-line interface to the freedesktop.org trashcan

https://github.com/andreafrancia/trash-cli

License: GPL-2.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/trash-cli.json

Formula code: trash-cli.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.26.9.29
head ⚡️ HEAD

Keg-only because macOS provides similar software.

Depends on:

python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language

Conflicts with: macos-trash (because both install a `trash` binary), osx-trash (because both install a `trash` binary), trash (because both install a `trash` binary)

Binaries: trash, trash-empty, trash-list, trash-put, trash-restore, trash-rm

GitHub Packages downloads:

Last 30 days10,860
Downloads139,392
Analytics install events (30 days)4,312
Downloads / install events (30 days)2.5×

Source: GitHub Packages, fetched 2026-11-20T00:55:18Z. Analytics dates: 2026-10-21 to 2026-11-20. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs4,3129,35322,746
Installs (--HEAD)011
Installs on Request4,3129,35322,746
Installs on Request (--HEAD)011
Build Errors0