A CLI that calls your operating system's native location APIs directly --- CoreLocation on macOS, WinRT Geolocation on Windows, GeoClue2 on Linux. No HTTP requests, no API keys, no third-party services.
$ whereami
Location: 40.6892, -74.0445
Accuracy: 65m
Address: Liberty Island, New York, NY 10004, United States
Human-readable by default, --json for scripting. On macOS it also
reverse-geocodes to a street address via CLGeocoder.
Written in Zig. Produces a standalone binary and a C-compatible shared library.
# macOS / Linux
brew install georgemandis/tap/whereami
# Windows
scoop bucket add georgemandis https://github.com/georgemandis/scoop-bucket
scoop install whereami
Also available as a .deb package — download the latest from GitHub Releases.
