Automic VaultAutomic Vault

brew

Install gomi with Homebrew, Nix

Functions like rm but with the ability to restore files. Version 1.6.4 via Homebrew; verified 2026-06-07.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gomi

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#gomi

nixpkgs package indexes · pkgs/by-name/go/gomi/package.nix · source: api.github.com

overview

Package summary

Functions like rm but with the ability to restore files

Commands and aliases

  • gomi

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2015: GitHub repository created.
  • 2025: GitHub release pages show the 1.x release stream in active use.
  • 2026: The README documents gomi as a cross-platform trash CLI with XDG Trash support, prebuilt binaries, and package-manager installs.

Related projects

  • rm is the command-line behavior gomi intentionally resembles.
  • trash-cli and desktop file-manager trash implementations are adjacent tools in the same safer-deletion space.
  • The freedesktop.org XDG Trash specification is relevant to gomi's interoperability claims.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/gomi/config.yaml

executables

Installed executables

CommandKindExposureNote
gomicliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.6.4
manager updated2026-06-07
local dataok
upstreamcurrent
latest detectedv1.6.4

https://github.com/babarot/gomi

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gomi
Version1.6.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gomi
Homepagehttps://gomi.dev
Repositoryhttps://github.com/babarot/gomi
Upstream docshttps://gomi.dev/
LicenseMIT
Source archivehttps://github.com/babarot/gomi/archive/refs/tags/v1.6.4.tar.gz
Last updated2026-06-07T09:43:03Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegomi
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

gomi

nix profile install nixpkgs#gomi
  • normalized package name match
  • Matched by: Gomi
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/gomi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment