# Install grepip with Homebrew

Filters IPv4 & IPv6 addresses with a grep-compatible interface. Version 1.2.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:grepip
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install grepip
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:grepip
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/grepip>
- **Version:** 1.2.2
- **Source summary:** Filters IPv4 & IPv6 addresses with a grep-compatible interface
- **Homepage:** <https://ipinfo.io>
- **Repository:** <https://github.com/ipinfo/cli>
- **Upstream docs:** <https://github.com/ipinfo/cli#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/ipinfo/cli/archive/refs/tags/grepip-1.2.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- grepip (cli)
- grepip (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.2
- Local data: ok
- Upstream repository: https://github.com/ipinfo/cli
- Upstream latest detected: grepip-1.2.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

grepip is a standalone helper shipped from the IPinfo CLI repository for extracting and filtering IPv4 and IPv6 addresses with a grep-like interface. It is much thinner historically than GNU grep or grc, but official repository materials document its role inside IPinfo's family of small IP-address CLIs.

### Project history

The IPinfo CLI README describes grepip alongside sibling standalone binaries such as grepdomain, matchip, prips, cidr2range, cidr2ip, range2cidr, range2ip, splitcidr, randip, and mmdb. The grepip source exposes flags for only matching IPs, including CIDRs and ranges, selecting IPv4 or IPv6, disabling color, recursing through directories, and excluding reserved or bogon IPs.

The GitHub release feed records grepip-specific releases beginning with grepip-1.0.0 on 2021-03-31 and continuing through the 1.2.x series. The grepip changelog records later additions for CIDR and range output flags and fixes for reserved/bogon edge cases.

### Adoption history

grepip's adoption path is tied to the broader IPinfo CLI rather than to a standalone ecosystem. Homebrew packages it as its own formula, while the upstream README presents it as one of the extra binaries built from the IPinfo CLI repository.

### How it is used

grepip scans standard input, files, or directories for IP-like text and prints matching lines or only the matching address tokens. Users can restrict matches to IPv4 or IPv6, include CIDR/range strings, disable color, and exclude reserved or bogon addresses.

### Why package nerds care

grepip is useful to package-minded shell users because it separates IP extraction from IPinfo API lookup. That makes it a lightweight pipeline component for logs, pasted text, and files where ordinary grep patterns would be easy to get subtly wrong.

Its significance is mostly practical rather than historical: it packages a common IP-address parsing task into a tiny binary with familiar grep-flavored options.

### Timeline

- 2021: grepip-1.0.0 published in the official GitHub release feed.
- 2021: grepip 1.1.0 and 1.2.0 followed in the same repository release feed.
- 2023: grepip-1.2.2 release metadata appeared, and the changelog records bogon edge-case fixes.
- Undated in changelog: grepip 1.2.3 added CIDR and range inclusion/output flags.

### Related projects

- The ipinfo CLI is the parent repository and related command suite.
- grepdomain, matchip, prips, cidr2range, cidr2ip, range2cidr, range2ip, splitcidr, randip, and mmdb are sibling standalone binaries listed by upstream.
- The IPinfo bogon list is referenced by grepip help text for reserved-address filtering.

### Sources

- <https://api.github.com/repos/ipinfo/cli/releases?per_page=100>
- <https://github.com/ipinfo/cli>
- <https://raw.githubusercontent.com/ipinfo/cli/master/README.md>
- <https://raw.githubusercontent.com/ipinfo/cli/master/grepip/CHANGELOG.md>


## 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:** grepip
- **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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cidr2range](https://www.automicvault.com/pkg/brew/cidr2range/) - Shares the same upstream source repository.
- [ipinfo-cli](https://www.automicvault.com/pkg/brew/ipinfo-cli/) - Shares the same upstream source repository.
- [range2cidr](https://www.automicvault.com/pkg/brew/range2cidr/) - Shares the same upstream source repository.
- [grepcidr](https://www.automicvault.com/pkg/brew/grepcidr/) - Shares av.db curated category or tags: cli, ip-filtering, ip-tools, ipv4, networking.
- [ipcalc](https://www.automicvault.com/pkg/brew/ipcalc/) - Shares av.db curated category or tags: cli, ip-tools, ipv6, networking.
- [sipcalc](https://www.automicvault.com/pkg/brew/sipcalc/) - Shares av.db curated category or tags: cli, ipv4, ipv6, networking.
- [subnetcalc](https://www.automicvault.com/pkg/brew/subnetcalc/) - Shares av.db curated category or tags: cli, ipv4, ipv6, networking.
- [ahcpd](https://www.automicvault.com/pkg/brew/ahcpd/) - Shares av.db curated category or tags: cli, ipv6, networking.
- [babeld](https://www.automicvault.com/pkg/brew/babeld/) - Shares av.db curated category or tags: cli, ipv4, ipv6, networking.
- [ddns-go](https://www.automicvault.com/pkg/brew/ddns-go/) - Shares av.db curated category or tags: cli, ipv4, ipv6, networking.
- [inadyn](https://www.automicvault.com/pkg/brew/inadyn/) - Shares av.db curated category or tags: cli, ipv4, ipv6, networking.

## Combined YAML source

View the package source record on GitHub. [combined/grepip.yml](https://github.com/automic-vault/db/blob/main/combined/grepip.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
- cross-ecosystem install command graph
