# Install monocle with Homebrew, Nix

See through all BGP data with a monocle. Version 1.3.0 via Homebrew; verified 2026-05-27.

## Install

```sh
sudo av install brew:monocle
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install monocle
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#monocle
```

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

## Package facts

- **Package key:** brew:monocle
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/monocle>
- **Version:** 1.3.0
- **Source summary:** See through all BGP data with a monocle
- **Homepage:** <https://github.com/bgpkit/monocle>
- **Repository:** <https://github.com/bgpkit/monocle>
- **Upstream docs:** <https://github.com/bgpkit/monocle#readme>
- **License:** MIT
- **Source archive:** <https://github.com/bgpkit/monocle/archive/refs/tags/v1.3.0.tar.gz>
- **Last updated:** 2026-05-27T21:09:27Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- monocle (cli)
- monocle (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.3.0
- Package-manager updated: 2026-05-27
- Local data: ok
- Upstream repository: https://github.com/bgpkit/monocle
- Upstream latest detected: v1.3.0 (current)
## Project history and usage

Monocle is a Rust command-line and library tool in the BGPKIT family for working with public Border Gateway Protocol data. BGPKIT's 2022 year-in-review introduced it as the suite's first investigative tool, designed to tie together BGPKIT parser and broker work so users could quickly find relevant BGP announcements from public collector data.

### Project history

The tool's scope expanded from early parse, search, time-conversion, and whois utilities into a broader BGP analysis workstation. The project README and BGPKIT tool page describe commands for parsing local or remote MRT files, searching public archives, reconstructing RIB state at timestamps, inspecting ASNs and prefixes, validating routes with RPKI data, looking up country, IP, AS relationship, and prefix-to-ASN data, and running an HTTP/SSE server mode for programmatic access.

### How it is used

Its package-manager niche is narrow but useful for network operators, routing-security researchers, and incident analysts who want a local CLI instead of stitching together Route Views, RIPE RIS, RPKI, WHOIS, and BGPKIT APIs by hand. The LACNIC republication of a BGPKIT article by Mingwei Zhang notes version 0.5 support for Cloudflare Radar BGP routing statistics and prefix-to-origin APIs, illustrating how the tool fits into operational routing-analysis workflows.

### Sources

- <https://bgpkit.com/blog/2022-year-in-review/>
- <https://bgpkit.com/tools/monocle/>
- <https://blog.lacnic.net/en/command-line-routing-stats-with-bgpkit-monocle-and-cloudflare-radar-api/>
- <https://github.com/bgpkit/monocle>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** monocle
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - monocle: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/monocle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [zebra](https://www.automicvault.com/pkg/brew/zebra/) - Shares av.db curated category or tags: bgp, cli, networking, routing.
- [bgpdump](https://www.automicvault.com/pkg/brew/bgpdump/) - Shares av.db curated category or tags: bgp, cli, networking, routing.
- [bore-cli](https://www.automicvault.com/pkg/brew/bore-cli/) - Shares av.db curated category or tags: cli, networking, rust.
- [cloudflare-quiche](https://www.automicvault.com/pkg/brew/cloudflare-quiche/) - Shares av.db curated category or tags: cli, networking, rust.
- [geph4](https://www.automicvault.com/pkg/brew/geph4/) - Shares av.db curated category or tags: cli, networking, rust.
- [iproute2](https://www.automicvault.com/pkg/brew/iproute2/) - Shares av.db curated category or tags: cli, networking, routing.
- [iproute2mac](https://www.automicvault.com/pkg/brew/iproute2mac/) - Shares av.db curated category or tags: cli, networking, routing.
- [rustcat](https://www.automicvault.com/pkg/brew/rustcat/) - Shares av.db curated category or tags: cli, networking, rust.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
