# gtrash mit Homebrew, Nix installieren

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

## Installation

```sh
sudo av install brew:gtrash
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gtrash
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gtrash
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/gt/gtrash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:gtrash
- **Paketmanager:** Homebrew
- **Version:** 0.0.6
- **Quellzusammenfassung:** Featureful Trash CLI manager: alternative to rm and trash-cli
- **Homepage:** <https://github.com/umlx5h/gtrash>
- **Repository:** <https://github.com/umlx5h/gtrash>
- **Zuletzt aktualisiert:** 2026-07-27T16:47:26+02:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- gtrash (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.0.6
## Projektgeschichte und Nutzung

gtrash is a Go command-line trash manager built as a safer shell-facing alternative to permanent removal with rm. Its identity is tied to the FreeDesktop.org trash specification: on Linux it writes the same trash metadata and files layout used by desktop environments and other compliant CLI tools, while also offering a TUI-oriented recovery workflow.

### Projektgeschichte

The public repository was created in January 2024, with its initial commit dated 2024-01-06 and a v0.0.1 release published on 2024-01-08. The README presents the project as a featureful trash CLI manager that can substitute for common rm habits while keeping files recoverable.

The design focuses on a single static Go binary with multiple subcommands. The core operation moves files into a trash location and records .trashinfo metadata, while companion commands list, restore, remove, summarize, and repair trash entries.

### Adoptionsgeschichte

gtrash entered package-manager culture as a small modern CLI rather than as a long-lived Unix base tool. The official README documents installation paths through binary releases, Go install, Nixpkgs, Homebrew, and AUR-style packages; the input metadata also records Homebrew and Nix packaging.

### Wie es verwendet wird

The everyday use case is replacing direct deletion with `gtrash put`, then using `gtrash find`, `gtrash restore`, `gtrash restore-group`, `gtrash summary`, or permanent removal options when cleanup is intentional. On Linux, normal trash entries live under `$XDG_DATA_HOME/Trash` or `$HOME/.local/share/Trash`, with external filesystems handled through `.Trash/$uid` or `.Trash-$uid` locations.

The README explicitly warns against blindly aliasing `rm=gtrash put`, because sudo, SSH hosts, and partial rm compatibility can surprise users. That caution is part of the tool's package-nerd appeal: it is safer than rm, but honest about Unix muscle memory.

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

gtrash matters to package users who want a Freedesktop-compatible trash CLI with Go-style distribution ergonomics. It overlaps with `gio trash` and `trash-cli`, but emphasizes a modern TUI, grouped restoration, static binaries, and rm-like flags without inventing a private trash format.

### Zeitleiste

- 2024-01-06: Public repository initial commit.
- 2024-01-08: v0.0.1 release published.
- 2024: README documents package-manager installation through Go install, Nixpkgs, Homebrew, and AUR-style packages.
- 2025: Repository metadata shows continued maintenance activity into 2025.

### Related projects

- The README positions gtrash alongside `rm`, `gio trash`, `trash-cli`, and `rip`. Its technical foundation is the FreeDesktop.org trash specification, so it is most related to tools and desktops that share that on-disk trash layout.

### Quellen

- <https://api.github.com/repos/umlx5h/gtrash>
- <https://api.github.com/repos/umlx5h/gtrash/releases?per_page=100>
- <https://github.com/umlx5h/gtrash>
- <https://raw.githubusercontent.com/umlx5h/gtrash/main/README.md>
- <https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Nix - gtrash: normalized package name match | nixpkgs package indexes: pkgs/by-name/gt/gtrash/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/gtrash.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gtrash.yml)


## Quellen

- 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
