macOS
brew install the_silver_searcherlocal Homebrew formula metadata
sudo port install the_silver_searcherMacPorts ports tree · textproc/the_silver_searcher/Portfile · ソース: api.github.com
brew / 順位 696
the_silver_searcher のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install the_silver_searcherlocal Homebrew formula metadata
sudo port install the_silver_searcherMacPorts ports tree · textproc/the_silver_searcher/Portfile · ソース: api.github.com
sudo apk add the_silver_searcherAlpine Linux edge package indexes · the_silver_searcher · ソース: dl-cdn.alpinelinux.org
sudo dnf install the_silver_searcherFedora Rawhide package metadata · the_silver_searcher · ソース: dl.fedoraproject.org
sudo pacman -S the_silver_searcherArch Linux sync databases · the_silver_searcher · ソース: geo.mirror.pkgbuild.com
winget install --id JFLarvoire.Ag -eWindows Package Manager source index · JFLarvoire.Ag · ソース: cdn.winget.microsoft.com
choco install agChocolatey community package catalog · ag · ソース: community.chocolatey.org
scoop install main/agScoop official bucket manifest trees · bucket/ag.json · ソース: api.github.com
概要
Code-search similar to ack
履歴
The Silver Searcher, usually invoked as `ag`, is a code-search command created by Geoff Greer. The official project page says it started as a clone of Ack and later diverged, while the README describes it as a code-searching tool similar to ack with a focus on speed.
Ag belongs to the generation of developer tools that tried to replace recursive grep with project-aware, ignore-file-aware code search. Its README credits Ack as the predecessor and says that without Ack, Ag would not exist.
The project gained identity through performance work. The README reports benchmark results where Ag found the same results as Ack while searching far less data because it respected git, hg, and ignore files; it also documents implementation choices such as pthreads, mmap, Boyer-Moore literal search, and PCRE JIT support.
Greer's official page provides signed release tarballs and links to performance graphs across releases, which reflects the project's longstanding emphasis on measurable speed rather than only feature breadth.
Ag became broadly packaged across Unix-like systems. The README documents Homebrew and MacPorts on macOS; apt, yum, dnf, emerge, pacman, zypper, Nix, and other Linux paths; BSD packages; and Windows package routes including winget, Chocolatey, MSYS2, and Cygwin.
The Homebrew input mirrors that broad adoption with packages recorded for Alpine, Homebrew, Chocolatey, Fedora/DNF, MacPorts, Arch, Scoop, and winget. That distribution spread is a strong signal that Ag became a common developer workstation dependency rather than a single-ecosystem utility.
Developers use `ag` to recursively search source trees while automatically respecting `.gitignore`, `.hgignore`, and project-specific `.ignore` files. The README also documents editor integrations for Vim, Emacs, and TextMate, showing its role as both a shell command and an editor backend.
Ag was commonly used as a faster ack replacement before ripgrep became dominant in many setups. Its attraction was a short command name, parallel search, ignore-file awareness, and easy installation through the package manager already used on the workstation.
The Silver Searcher is a classic package-nerd tool because the package name, executable name, and cultural name differ: Homebrew installs `the_silver_searcher`, but users type `ag`, the chemical symbol for silver. That naming quirk is part of its lore.
It also marks an important step in the code-search lineage from grep to ack to ag to ripgrep. The README itself points users to Ack, git-grep, fzf, ripgrep, and Sack, making the project a hub in the modern command-line search ecosystem.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
.ignore.gitignore.hgignore実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
ag | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:the_silver_searcher |
|---|---|
| バージョン | 2.2.0 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://geoff.greer.fm/ag/ |
| リポジトリ | https://github.com/ggreer/the_silver_searcher |
| 最終更新 | 2026-07-14T17:14:18+09:00 |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
the_silver_searcher 2.2.0-r1
A code searching tool similar to ack, with a focus on speed.
sudo apk add the_silver_searcherthe_silver_searcher-bash-completion 2.2.0-r1
Bash completions for the_silver_searcher
sudo apk add the_silver_searcher-bash-completionthe_silver_searcher-doc 2.2.0-r1
A code searching tool similar to ack, with a focus on speed. (documentation)
sudo apk add the_silver_searcher-docthe_silver_searcher-zsh-completion 2.2.0-r1
Zsh completions for the_silver_searcher
sudo apk add the_silver_searcher-zsh-completionthe_silver_searcher 2.2.0^2020704.5a1c8d8-16.fc45
Super-fast text searching tool (ag)
https://github.com/ggreer/the_silver_searcher
sudo dnf install the_silver_searcherthe_silver_searcher 2.2.0-4
Code searching tool similar to Ack, but faster
https://github.com/aswild/the_silver_searcher
sudo pacman -S the_silver_searcherthe_silver_searcher
sudo port install the_silver_searcherJFLarvoire.Ag
winget install --id JFLarvoire.Ag -eag
choco install agmain/ag
scoop install main/agソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.