Getting Started
ipwho is a command-line tool that looks up geolocation data for any IP address using free public APIs. It supports multiple providers, lets you compare results side-by-side, and outputs clean JSON for scripting.
Quick Install
Section titled “Quick Install”The fastest way to get started is via npm:
npm install -g ipwhoOr run it directly without installing:
npx ipwho 8.8.8.8For other install methods (Bash script, PowerShell), see the Installation page.
Your First Lookup
Section titled “Your First Lookup”Run ipwho with no arguments to look up your own public IP:
ipwhoFetching your public IP...Your IP: 203.0.113.42
[ipinfo] IP 203.0.113.42 City Sydney Region New South Wales Country AU Org AS12345 Example ISP Location -33.8688,151.2093 Timezone Australia/SydneyOr pass a specific IP:
ipwho 8.8.8.8Compare Providers
Section titled “Compare Providers”Use -c to see how different providers report the same IP:
ipwho -c 1.1.1.1This queries all three providers and shows results side-by-side — useful for verifying accuracy.
What’s Next?
Section titled “What’s Next?”- Installation — All install methods
- Basic Usage — Flags, providers, and examples
- CLI Options — Complete reference