macOS
brew install acklocal Homebrew formula metadata
安装
brew install acklocal Homebrew formula metadata
sudo apk add ackAlpine Linux edge package indexes · ack · 来源: dl-cdn.alpinelinux.org
sudo dnf install ackFedora Rawhide package metadata · ack · 来源: dl.fedoraproject.org
nix profile install nixpkgs#acknixpkgs package indexes · ack · 来源: raw.githubusercontent.com
sudo zypper install ackopenSUSE Tumbleweed package metadata · ack · 来源: download.opensuse.org
choco install ackChocolatey community package catalog · ack · 来源: community.chocolatey.org
scoop install main/ackScoop official bucket manifest trees · bucket/ack.json · 来源: api.github.com
概览
Search tool like grep, but optimized for programmers
历史
ack is a Perl-based source-code search tool, similar to grep but optimized for programmers searching large source trees.
ack was written and maintained by Andy Lester. The ack3 README describes it as a code-searching tool similar to grep, portable across platforms that run Perl.
The project evolved through major release lines: ack 2.0 in 2013 changed default search behavior and ackrc handling, and ack 3.0 in 2019 was the first official ack 3 release.
ack spread through developer package managers because it gave programmers grep-like searching with recursive traversal, source-file type detection, VCS-directory ignores, highlighting, and project/user configuration.
The input package facts list ack across Homebrew, Debian, Ubuntu, Fedora/dnf, MacPorts, Nix, Scoop, Chocolatey, Alpine, and openSUSE/zypper, showing unusually broad cross-platform packaging for a small CLI.
Typical usage is interactive and recursive, for example running ack PATTERN inside a source tree. The official documentation emphasizes default recursion, source-aware file selection, filetype filters, match highlighting, and GNU grep-like switches.
ack reads options from ackrc files, including global, user, project, and explicitly supplied ackrc locations, which lets users encode local filetype and ignore rules without wrapper scripts.
ack is important in CLI package history as one of the classic programmer-focused grep replacements, alongside later tools such as ag and ripgrep.
For package maintainers it is intentionally boring in a useful way: mostly Perl, few runtime assumptions, one main executable, and behavior that users expect to be identical across Unix, Windows, and package-manager installs.
安全态势
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.
~/.ackrc/etc/ackrcC:\Users\$USER\AppData\Roaming\ackrcC:\ProgramData\ackrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ack | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ack |
|---|---|
| 版本 | 3.10.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ack |
| 主页 | https://beyondgrep.com/ |
| 仓库 | https://github.com/beyondgrep/ack3 |
| 上游文档 | https://beyondgrep.com/documentation |
| 许可证 | Artistic-2.0 |
| 源码归档 | https://beyondgrep.com/ack-v3.10.0 |
| 最后更新 | 2026-06-22T14:02:41-07:00 |
| Pulse | updated |
| 构建依赖 | pod2man |
| macOS 提供的库 | perl |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ack |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
ack 3.8.1-1
grep-like program specifically for large source trees
sudo apt install ackack
nix profile install nixpkgs#ackack 3.7.0-1
grep-like program specifically for large source trees
sudo apt install ackack 3.10.0-r0
Perl-powered replacement for grep
sudo apk add ackack-doc 3.10.0-r0
Perl-powered replacement for grep (documentation)
sudo apk add ack-docack 3.10.0-1.fc45
A Grep-like source code search tool
sudo dnf install ackack 3.10.0-1.1
Grep-Like Text Finder
sudo zypper install ackperl-App-Ack 3.10.0-1.1
Grep-Like Text Finder Perl Module
sudo zypper install perl-App-Ackack
sudo port install ackack
choco install ackmain/ack
scoop install main/ack来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.