# Installer blocky avec Homebrew, apk, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de blocky pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:blocky
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install blocky
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add blocky
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#blocky
```

  Preuve: nixpkgs package indexes: pkgs/by-name/bl/blocky/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:blocky
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.34.0
- **Résumé source:** Fast and lightweight DNS proxy as ad-blocker for local network
- **Page d'accueil:** <https://0xerr0r.github.io/blocky/>
- **Dépôt:** <https://github.com/0xerr0r/blocky>
- **Dernière mise à jour:** 2026-07-28T01:37:23Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- blocky (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.34.0
## Historique du projet et usages

blocky is a Go DNS proxy and ad blocker for local networks. It belongs to the self-hosted DNS-adblocking family, but its package identity is a single binary with YAML configuration, modern encrypted DNS protocols, metrics, and router/Raspberry Pi friendly deployment.

### Historique du projet

GitHub metadata dates blocky's repository to November 2019. The official README describes it as a fast, lightweight DNS proxy and ad blocker for local networks, written in Go, with blocking lists, allowlists, conditional forwarding, caching, DNSSEC-related features, Prometheus/Grafana integration, REST endpoints, and a CLI.

The README emphasizes simple operation: stateless behavior, no required database, Docker multi-arch images, a single binary, and support for x86-64, ARM, and MIPS. The docs describe YAML configuration, folder-based multi-file config merging, and generated JSON schema validation.

### Historique d'adoption

blocky's adoption tracks the home-network and homelab move from appliance-style ad blockers to packaged, containerized, and declarative DNS services. The input metadata records packages in Alpine apk, Homebrew, and Nix, while the README advertises Docker pulls and multi-architecture deployment.

The release stream is active: official releases include v0.32.1 on June 20, 2026, with several 0.30-plus releases earlier in 2026.

### Modes d'utilisation

Operators run blocky as a DNS service and configure upstream resolvers, blocklists, allowlists, ports, logging, privacy options, and protocol support in YAML. The official configuration docs explain `config.yaml`, `config.yml`, and using `--config` to point at a folder of `.yml` or `.yaml` files that are merged in lexical order.

### Pourquoi les passionnés de paquets s'y intéressent

blocky is interesting to package people because it packages an infrastructure service like a normal CLI: one Go binary, config schema, validation command, system-service-friendly behavior, and no mandatory database. That makes it easy to slot into Homebrew, Nix, Alpine, containers, routers, and homelab automation.

It also sits in the same practical category as Pi-hole and AdGuard Home while keeping a config-file-first shape that appeals to users who prefer declarative package-managed systems.

### Chronologie

- 2019: Official GitHub repository created.
- Early release line: Tags begin with v0.2.0 in the public repository.
- 2026: v0.32.1 released on June 20 after several active 2026 releases.

### Related projects

- Pi-hole and AdGuard Home are related local-network DNS blocking projects.
- Prometheus and Grafana are named integrations in the README.
- DNS-over-HTTPS, DNS-over-TLS, DNS-over-QUIC, DNSSEC, and OpenWrt/Raspberry Pi deployments are adjacent ecosystem pieces named by the official docs and README.

### Sources

- GitHub repository metadata via gh api repos/0xerr0r/blocky
- <https://0xerr0r.github.io/blocky/latest>
- <https://0xerr0r.github.io/blocky/latest/configuration>
- <https://0xerr0r.github.io/blocky/latest/installation>
- <https://github.com/0xERR0R/blocky#readme>
- <https://github.com/0xERR0R/blocky/releases>
- source_facts.package-manager


## Notes de sécurité

formula declares a Homebrew service.

- **Risque Geiger:** orange / moyen
- formula declares a Homebrew service


## 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: config.yaml, config.yml, folder passed to --config containing *.yml, *.yaml files
## Autres enregistrements de gestionnaires de paquets

- Nix - blocky: normalized package name match | nixpkgs package indexes: pkgs/by-name/bl/blocky/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - blocky - 0.32.1-r1: normalized package name match | Alpine Linux edge package indexes: blocky from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | DNS proxy ad-blocker for local network | https://github.com/0xERR0R/blocky
- apk - blocky-openrc - 0.32.1-r1: normalized package name match | Alpine Linux edge package indexes: blocky-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | DNS proxy ad-blocker for local network (OpenRC init scripts) | https://github.com/0xERR0R/blocky


## Combined YAML source

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


## Sources

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