whereami

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. Installable via Homebrew, Scoop, or .deb.

brew install georgemandis/tap/whereami