# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper 安装 anubis

查看 anubis 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:anubis
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install anubis
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install anubis
```

  证据: MacPorts ports tree: mail/anubis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add anubis
```

  证据: Alpine Linux edge package indexes: anubis from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install anubis
```

  证据: Fedora Rawhide package metadata: anubis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#anubis
```

  证据: nixpkgs package indexes: pkgs/by-name/an/anubis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S anubis
```

  证据: Arch Linux sync databases: anubis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install anubis
```

  证据: openSUSE Tumbleweed package metadata: anubis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:anubis
- **软件包管理器:** Homebrew
- **版本:** 1.26.2
- **来源摘要:** Protect resources from scraper bots
- **主页:** <https://anubis.techaro.lol>
- **仓库:** <https://github.com/TecharoHQ/anubis>
- **最后更新:** 2026-07-27T07:11:11Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- anubis (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.26.2
## 项目历史与用法

Anubis is Techaro's Web AI Firewall Utility for protecting web resources from scraper bots. It is a modern reverse-proxy-era security CLI: install one binary or container, put it between a load balancer and an upstream app, and tune bot policy and challenge behavior.

### 项目历史

The official README frames Anubis as a response to heavy scraper traffic from AI companies, especially for smaller sites that cannot or do not want to depend on a larger hosted protection service. The setup docs describe it as a component that sits between a reverse proxy such as Nginx or Caddy and the target service, one Anubis instance per protected service.

The project is implemented and released actively through the TecharoHQ/anubis repository. Its release feed shows a fast-moving 1.x series, with v1.26.0-pre1 in June 2026 including security, metrics, policy, localization, and performance work.

### 采用历史

Anubis entered package-manager ecosystems quickly for a young security tool: the input package facts list Homebrew, Alpine, Fedora, MacPorts, Nix, Arch, and openSUSE packaging. The README also links a Repology packaging badge, suggesting upstream cares about distribution visibility.

Its adoption story is tied to the post-LLM web: administrators use it when they need proof-of-work challenges, allow/deny/challenge bot rules, and reverse-proxy integration without moving the whole site behind a proprietary edge service.

### 使用方式

Operators run Anubis as a reverse proxy or sidecar and configure target service routing with environment variables plus a policy file. Official docs document BIND, TARGET, PUBLIC_URL, cookie settings, metrics settings, and POLICY_FNAME, while the policy docs define YAML or JSON rules for paths, user agents, headers, remote addresses, actions, challenge difficulty, and metrics.

The policy file is the important package-nerd surface: it is not just a daemon config, it is the distribution of bot behavior. The default policy file, local overrides, known-good bot allowlists, and reverse-proxy examples are where the package turns from binary into operational security posture.

### 为什么软件包爱好者会关心

Anubis is interesting because it is a small, installable answer to an infrastructure-wide problem. It sits at the intersection of Go single-binary packaging, container images, reverse proxy snippets, and web-administration policy files.

For package maintainers, Anubis also has a moving target problem: security advisories, bot identifiers, browser behavior, and AI-crawler names change quickly, so the value of a package is not only the binary but also timely updates and clear policy migration notes.

### 时间线

- 2025: Public 1.x tags and package-manager entries establish Anubis as a distributable CLI service.
- 2026: v1.26.0-pre1 release notes include security-advisory work, metrics policy moves, pprof gating, localization, and performance improvements.

### Related projects

- Caddy, Nginx, Traefik, HAProxy, Apache, and Kubernetes appear in official deployment documentation as front-end environments for Anubis.
- The official default bot policy file is the related configuration artifact most users customize.

### 来源

- Official README, installation docs, policy docs, release feed, and source_facts.package-manager.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - anubis: normalized package name match | nixpkgs package indexes: pkgs/by-name/an/anubis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - anubis - 1.26.2-r0: normalized package name match | Alpine Linux edge package indexes: anubis from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Block AI scrapers using a sha256 proof-of-work challenge | https://github.com/TecharoHQ/anubis
- apk - anubis-doc - 1.26.2-r0: normalized package name match | Alpine Linux edge package indexes: anubis-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Block AI scrapers using a sha256 proof-of-work challenge (documentation) | https://github.com/TecharoHQ/anubis
- apk - anubis-openrc - 1.26.2-r0: normalized package name match | Alpine Linux edge package indexes: anubis-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Block AI scrapers using a sha256 proof-of-work challenge (OpenRC init scripts) | https://github.com/TecharoHQ/anubis
- dnf - anubis - 1.25.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: anubis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Weighs the soul of incoming HTTP requests to stop AI crawlers | https://github.com/TecharoHQ/anubis
- pacman - anubis - 1.26.2-1: normalized package name match | Arch Linux sync databases: anubis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Reverse proxy to protect against scraper bots | https://anubis.techaro.lol/
- zypper - anubis - 1.25.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: anubis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Web AI Firewall Utility | https://github.com/TecharoHQ/anubis
- MacPorts - anubis: normalized package name match | MacPorts ports tree: mail/anubis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/anubis.yml](https://github.com/mxcl/pkgdb/blob/main/combined/anubis.yml)


## 来源

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