Automic VaultAutomic Vault

brew

macos-trash を Homebrew, MacPorts でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install macos-trash

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install macos-trash

MacPorts ports tree · sysutils/macos-trash/Portfile · ソース: api.github.com

概要

パッケージ概要

Move files and folders to the trash

コマンドとエイリアス

  • trash

履歴

プロジェクトの歴史と使われ方

macos-trash is a Swift command-line tool that moves files and folders to the macOS Trash instead of deleting them directly.

プロジェクトの歴史

The official repository was created in January 2015. The current README describes a macOS 13-or-later utility and notes that, although macOS 15 added a built-in `trash` command, this package still provides an interactive flag and fixes Put Back behavior.

採用の歴史

The README documents installation through Homebrew, Mint, and manual binary download, while the batch input records Homebrew and MacPorts packaging. Repository metadata captured during this run showed hundreds of GitHub stars, reflecting steady interest in safer command-line deletion on macOS.

使われ方

The documented CLI shape is `trash [--help | -h] [--version | -v] [--interactive | -i] <path> ...`. The README also suggests aliasing `rm` to `trash` for users who want a safer default in their shell.

パッケージ好きにとっての重要性

macos-trash fills the long-standing gap between Unix `rm` and Finder's Trash. For package users, it is the kind of small native CLI that makes scripts safer while preserving macOS-specific behavior such as recoverable trash items.

タイムライン

  • 2015: Official GitHub repository created.
  • 2024: macOS 15 introduced a built-in `trash` command, according to the project README.
  • 2026: Repository activity continued through commits pushed to the default branch.

Related projects

  • The README links related projects including the cross-platform Node.js `trash`, `empty-trash`, `macos-wallpaper`, and `do-not-disturb`.

セキュリティ状態

保護ツール対応はまだ見つかっていません

macos-trash に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 4 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
trashcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版3.0.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v3.0.0

https://github.com/sindresorhus/macos-trash

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:macos-trash
バージョン3.0.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/macos-trash
ホームページhttps://github.com/sindresorhus/macos-trash
リポジトリhttps://github.com/sindresorhus/macos-trash
上流ドキュメントhttps://github.com/sindresorhus/macos-trash#readme
ライセンスMIT
ソースアーカイブhttps://github.com/sindresorhus/macos-trash/archive/refs/tags/v3.0.0.tar.gz
macOS 提供ライブラリswift
Bottle利用可能 (対象 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemacos-trash
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • osx-trash
  • trash
  • trash-cli
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

MacPorts95%

macos-trash

sudo port install macos-trash
  • normalized package name match
  • 一致条件: Macos Trash
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/macos-trash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

trash

sudo port install trash
  • installed executable or alias match
  • 一致条件: Trash
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/trash/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment