macOS
brew install gomilocal Homebrew formula metadata
brew
Functions like rm but with the ability to restore files. Version 1.6.4 via Homebrew; verified 2026-06-07.
install
brew install gomilocal Homebrew formula metadata
nix profile install nixpkgs#gominixpkgs package indexes · pkgs/by-name/go/gomi/package.nix · source: api.github.com
overview
Functions like rm but with the ability to restore files
history
gomi is a Go command-line replacement for rm that moves files into a trash area and provides restoration instead of immediate permanent deletion. Its package-manager appeal is the Unix-shaped interface: users can install one small binary, alias rm to gomi if they choose, and get a safer deletion workflow without changing shells or file managers.
The public repository was created in May 2015 under babarot and later describes gomi as Japanese for trash. The README frames the project as a response to the command-line gap between graphical trash folders and rm, adding a TUI restore browser, XDG Trash specification support, multi-volume handling, and YAML configuration.
The project evolved from a safer rm-style utility into a cross-platform trash CLI with release automation and prebuilt binaries. Its configuration path, ~/.config/gomi/config.yaml, and its restore browser make it closer to a system utility than a one-shot script.
The official README documents installation through a curl installer, prebuilt GitHub release binaries, Homebrew, Scoop, AUR, and the author's afx manifest format. That spread is typical for a small CLI whose value comes from being available everywhere a shell user might want to replace a dangerous default.
Homebrew and other package-manager metadata give gomi a low-friction install route for people who do not want to manage GitHub release assets by hand.
Typical use is to run gomi with rm-compatible flags, or to alias rm=gomi, so deletions are moved to trash. Restoration is launched with --restore or -b, opening an interactive browser where users can search, preview, select, and restore trashed files.
The tool is most useful on developer workstations and servers where mistaken rm commands are costly but a full desktop trash workflow is absent or inconvenient.
gomi is a neat package-nerd example of replacing a risky POSIX habit with a small packaged binary. It respects familiar rm ergonomics while adding XDG trash behavior and a restore UI, so distributions can package it as an opt-in safety tool rather than a shell framework.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.config/gomi/config.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gomi | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/babarot/gomi
install metadata
| Package key | brew:gomi |
|---|---|
| Version | 1.6.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gomi |
| Homepage | https://gomi.dev |
| Repository | https://github.com/babarot/gomi |
| Upstream docs | https://gomi.dev/ |
| License | MIT |
| Source archive | https://github.com/babarot/gomi/archive/refs/tags/v1.6.4.tar.gz |
| Last updated | 2026-06-07T09:43:03Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gomi |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gomi
nix profile install nixpkgs#gomisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.