# ack を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, scoop, zypper でインストール

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

## インストール

```sh
sudo av install brew:ack
```

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

### macOS

- Homebrew (100%):

```sh
brew install ack
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ack
```

  証拠: MacPorts ports tree: devel/ack/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ack
```

  証拠: Alpine Linux edge package indexes: ack from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ack
```

  証拠: Debian stable package indexes: ack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ack
```

  証拠: Fedora Rawhide package metadata: ack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ack
```

  証拠: nixpkgs package indexes: ack from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install ack
```

  証拠: openSUSE Tumbleweed package metadata: ack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install ack
```

  証拠: Chocolatey community package catalog: ack from https://community.chocolatey.org/api/v2/Packages()?$filter=IsLatestVersion&$select=Id&$top=1000

- Scoop (92%):

```sh
scoop install main/ack
```

  証拠: Scoop official bucket manifest trees: bucket/ack.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ack
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ack>
- **バージョン:** 3.10.0
- **ソース概要:** Search tool like grep, but optimized for programmers
- **ホームページ:** <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
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- ack (cli)
- ack (エイリアス)

## ビルド依存関係

- pod2man

## macOS 提供ライブラリ

- perl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 3.10.0
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://beyondgrep.com/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2005: ack copyright history begins in the official ack3 README.
- 2013: ack 2.0 released with changed defaults and multiple ackrc support.
- 2019: ack 3.0.0 becomes the first official ack 3 release.
- 2026: ack 3.10.0 changelog records security fixes for ANSI escapes and project .ackrc handling.

### Related projects

- Related tools include grep, GNU grep, File::Next, The Silver Searcher, and ripgrep.

### ソース

- <https://beyondgrep.com/changes.txt>
- <https://beyondgrep.com/documentation/>
- <https://raw.githubusercontent.com/beyondgrep/ack2/dev/Changes>
- <https://raw.githubusercontent.com/beyondgrep/ack3/dev/README.md>
- source_facts.package-manager


## セキュリティノート

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: ~/.ackrc, /etc/ackrc
- Windows: C:\Users\$USER\AppData\Roaming\ackrc, C:\ProgramData\ackrc
## ソースデータベース詳細

- **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:** head, stable

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

- Debian apt - ack - 3.8.1-1: normalized package name match | Debian stable package indexes: ack from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | grep-like program specifically for large source trees | https://beyondgrep.com/
- Nix - ack: normalized package name match | nixpkgs package indexes: ack from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - ack - 3.7.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ack from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | grep-like program specifically for large source trees | https://beyondgrep.com/
- apk - ack - 3.10.0-r0: normalized package name match | Alpine Linux edge package indexes: ack from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Perl-powered replacement for grep | https://beyondgrep.com/
- apk - ack-doc - 3.10.0-r0: normalized package name match | Alpine Linux edge package indexes: ack-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Perl-powered replacement for grep (documentation) | https://beyondgrep.com/
- dnf - ack - 3.10.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: ack from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A Grep-like source code search tool | http://beyondgrep.com/
- zypper - ack - 3.10.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Grep-Like Text Finder | https://beyondgrep.com/
- zypper - perl-App-Ack - 3.10.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: perl-App-Ack from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Grep-Like Text Finder Perl Module | https://beyondgrep.com/
- MacPorts - ack: normalized package name match | MacPorts ports tree: devel/ack/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - ack: normalized package name match | Chocolatey community package catalog: ack from https://community.chocolatey.org/api/v2/Packages()?$filter=IsLatestVersion&$select=Id&$top=1000
- Scoop - main/ack: normalized package name match | Scoop official bucket manifest trees: bucket/ack.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cgrep](https://www.automicvault.com/ja/pkg/brew/cgrep/) - Shares av.db curated category or tags: cli, code-search, developer-tools, grep, search.
- [codequery](https://www.automicvault.com/ja/pkg/brew/codequery/) - Shares av.db curated category or tags: cli, code-search, developer-tools.
- [idutils](https://www.automicvault.com/ja/pkg/brew/idutils/) - Shares av.db curated category or tags: cli, code-search, developer-tools.
- [serpl](https://www.automicvault.com/ja/pkg/brew/serpl/) - Shares av.db curated category or tags: cli, code-search, developer-tools, search.
- [cgvg](https://www.automicvault.com/ja/pkg/brew/cgvg/) - Shares av.db curated category or tags: cli, code-search, developer-tools, grep, search.
- [hgrep](https://www.automicvault.com/ja/pkg/brew/hgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [igrep](https://www.automicvault.com/ja/pkg/brew/igrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [jvgrep](https://www.automicvault.com/ja/pkg/brew/jvgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [the_silver_searcher](https://www.automicvault.com/ja/pkg/brew/the-silver-searcher/) - Local package facts share a topical domain. Shared terms: ack, cli, code, code-search, developer.

## Combined YAML source

View the package source record on GitHub. [combined/ack.yml](https://github.com/automic-vault/db/blob/main/combined/ack.yml)


## ソース

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