otinstaller · Networks and hosts
Install IPinfo CLI on Windows, macOS, or Linux in one command
The official command-line client for IPinfo. It returns the location, network owner, AS number and hosting or VPN status of an IP address, and includes utilities for working with address ranges. Basic lookups work without an account.
IPinfo CLI in three lines
curl -fsSL https://otinstaller.com/install.sh | sh
ot install ipinfo
ot run ipinfo 8.8.8.8On Windows, replace the first line with irm https://otinstaller.com/install.ps1 | iex in PowerShell.
Runs ipinfo/cli (Apache-2.0, ★ 2.2k, otinstaller 0.3.0). otinstaller installs it as a release binary, pinned to version 3.3.4; it does not change or audit the tool itself.
What IPinfo CLI is for
- The location, network, and AS number of an address.
- Telling a hosting or VPN address from a home connection.
- Summarising a list of addresses.
Run IPinfo CLI with ot
ot run ipinfo passes everything after the tool's name to IPinfo CLI unchanged, with input and output passed through, so the project's own documentation applies and tools pipe into each other.
- Look up one address.
ot run ipinfo 8.8.8.8- Look up an AS number.
ot run ipinfo AS15169- Show the details of your own address.
ot run ipinfo myip
Keys it reads: IPINFO_TOKEN. Store each with ot keys set NAME.
Where the results go
ot run saves nothing itself: IPinfo CLI's output goes to your terminal, a pipe, or wherever its own output option writes it. Results can hold personal data, so store and share them accordingly.
Before you run it
- Basic lookups work without an account. A token (ot keys set IPINFO_TOKEN) raises the limits and adds fields.
- IP geolocation is an estimate. A city-level result can be far from the device.
Update, remove, inspect
ot info ipinfo # details, and how it installs on this system
ot update ipinfo # move to the version the registry pins
ot update ipinfo --latest # take the newest upstream release instead
ot remove ipinfo # remove itFull reference: the otinstaller docs, IPinfo CLI on otinstaller.com, and the tool's own project page.
Pairs with
When open-source isn't enough
ipinfo places an address. SearchIn's risk and host providers add its fraud score, proxy status, and the services it exposes.
FAQ
IPinfo CLI with otinstaller, answered
How do I install IPinfo CLI on Windows, macOS, or Linux?
Install ot once with the one-line script on the otinstaller page, then run ot install ipinfo. Ot downloads the project's release binary for your system and checks its SHA-256 hash before it installs anything, at version 3.3.4. ot itself needs no administrator rights, and ot doctor checks that every installed tool starts.
How do I run IPinfo CLI through ot?
With ot run ipinfo followed by IPinfo CLI's own arguments, for example: ot run ipinfo 8.8.8.8. ot passes everything after the tool's name straight through and exits with the tool's exit code, so the project's own documentation applies unchanged. Add ~/.ot/bin to your PATH to call the tool by its own name.
Is IPinfo CLI part of ot scan?
No. ot scan takes a username, an email address, a domain, or a phone number and runs the tools the registry assigns to that kind of target. Run IPinfo CLI on its own with ot run ipinfo.
Does IPinfo CLI need an API key or a login?
It reads IPINFO_TOKEN. Store each one with ot keys set NAME, which asks for the value without showing it; ot passes a key only to the tools that declare it. Basic lookups work without an account. A token (ot keys set IPINFO_TOKEN) raises the limits and adds fields.
Does IPinfo CLI send traffic to the target?
The registry lists IPinfo CLI as passive: it does not probe the target's own systems. Options that do contact the target, where the tool has them, are named under "Before you run it".