# Install ipinfo-cli with Homebrew, scoop, Nix, winget

Official CLI for the IPinfo IP Address API. Version 3.3.2 via Homebrew; verified 2026-04-28.

## Install

```sh
sudo av install brew:ipinfo-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ipinfo-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ipinfo
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/ipinfo-cli
```

  Evidence: Scoop official bucket manifest trees: bucket/ipinfo-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ipinfo.ipinfo -e
```

  Evidence: Windows Package Manager source index: ipinfo.ipinfo from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:ipinfo-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ipinfo-cli>
- **Version:** 3.3.2
- **Source summary:** Official CLI for the IPinfo IP Address API
- **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/ipinfo-3.3.2.tar.gz>
- **Last updated:** 2026-04-28T18:53:06Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ipinfo (cli)
- ipinfo (alias)

## Build dependencies

- go

## 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: 3.3.2
- Package-manager updated: 2026-04-28
- Local data: ok
- Upstream repository: https://github.com/ipinfo/cli
- info: No cached GitHub release or tag data was available.
## Project history and usage

IPinfo CLI is the official command-line interface for the IPinfo.io API, combining IP and ASN lookups, bulk enrichment, summaries, mapping, CIDR and range tools, and standalone helper binaries.

### Project history

The GitHub repository was created in 2020 and IPinfo announced the official CLI in April 2021. The announcement framed it as a way to query nearly all IPinfo APIs more efficiently from the terminal, including IP lookups, ASN lookups, summaries, maps, grep-like IP extraction, and range listing.

The repository README expanded the tool into both the main `ipinfo` command and a suite of related binaries such as `grepip`, `matchip`, `prips`, CIDR/range converters, `randip`, and `mmdb` tooling.

### Adoption history

The CLI was packaged for many installation paths from the start: Homebrew, a Debian/Ubuntu PPA, one-shot deb and script installers, FreeBSD ports, Arch AUR, Scoop, Docker, Go install, and release archives.

Its adoption follows the growth of IP intelligence workflows: developers and security teams can move from web/API calls to shell pipelines while still using the same IPinfo data source and account token.

### How it is used

Common usage includes one-off IP and ASN lookups, bulk enrichment from files or standard input, summarizing up to 1000 IPs, opening maps for IP locations, filtering IPs from text, and generating IP lists from CIDR or range input.

The config and token data live under `~/.config/ipinfo` on Unix-like systems according to the README's Docker persistence example and supplied curation.

### Why package nerds care

This package matters because it turns a SaaS IP intelligence API into a normal Unix command with package-manager installs, subcommands, and pipeline-friendly utilities.

It also creates a naming collision with the older Kyberdigi `ipinfo` formula. Homebrew resolves that by naming this formula `ipinfo-cli` while the executable remains `ipinfo`.

### Timeline

- 2020: GitHub repository created.
- 2021: ipinfo-1.0.0 release and official CLI announcement.
- 2021: Early companion binaries such as grepip were released alongside the main command.
- 2026: ipinfo-3.3.2 release published on GitHub.

### Related projects

- IPinfo.io provides the API and data products queried by the CLI.
- grepip, matchip, prips, CIDR/range conversion tools, randip, and mmdb tools are shipped as related command-line utilities in the same ecosystem.
- Kyberdigi ipinfo is unrelated despite the similar package name.

### Sources

- <https://github.com/ipinfo/cli>
- <https://github.com/ipinfo/cli/releases>
- <https://ipinfo.io/blog/meet-the-official-ipinfo-cli>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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: ~/.config/ipinfo

## Credential files

- Unix: ~/.config/ipinfo
## Source Database Details

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

## Other Package-Manager Records

- Scoop - main/ipinfo-cli: normalized package name match | Scoop official bucket manifest trees: bucket/ipinfo-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Nix - ipinfo: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ip/ipinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - ipinfo.ipinfo: installed executable or alias match | Windows Package Manager source index: ipinfo.ipinfo from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow 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.
- [ipinfo](https://www.automicvault.com/pkg/brew/ipinfo/) - Package name indicates the same formula family.
- [cidr2range](https://www.automicvault.com/pkg/brew/cidr2range/) - Shares the same upstream source repository.
- [grepip](https://www.automicvault.com/pkg/brew/grepip/) - Shares the same upstream source repository.
- [range2cidr](https://www.automicvault.com/pkg/brew/range2cidr/) - Shares the same upstream source repository.
- [cidr](https://www.automicvault.com/pkg/brew/cidr/) - Shares av.db curated category or tags: cli, ip-addressing, networking.
- [cidrmerge](https://www.automicvault.com/pkg/brew/cidrmerge/) - Shares av.db curated category or tags: cli, ip-addressing, networking.
- [mapcidr](https://www.automicvault.com/pkg/brew/mapcidr/) - Shares av.db curated category or tags: cli, ip-addressing, networking.
- [netmask](https://www.automicvault.com/pkg/brew/netmask/) - Shares av.db curated category or tags: cli, ip-addressing, networking.
- [prips](https://www.automicvault.com/pkg/brew/prips/) - Shares av.db curated category or tags: cli, ip-addressing, networking.

## Combined YAML source

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


## Sources

- 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
