# gomi を Homebrew, Nix でインストール

gomi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gomi
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gomi
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gomi
```

  証拠: nixpkgs package indexes: pkgs/by-name/go/gomi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:gomi
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.6.4
- **ソース概要:** Functions like rm but with the ability to restore files
- **ホームページ:** <https://gomi.dev>
- **リポジトリ:** <https://github.com/babarot/gomi>
- **最終更新:** 2026-07-27T16:47:25+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gomi (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.6.4
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://api.github.com/repos/babarot/gomi>
- <https://github.com/babarot/gomi>
- <https://github.com/babarot/gomi/releases>
- <https://gomi.dev/>
- <https://raw.githubusercontent.com/babarot/gomi/main/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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

- Unix: ~/.config/gomi/config.yaml
## 他のパッケージマネージャ記録

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
