🍺 BREW Explorer

← all casks

Core Location CLI

brew install --cask corelocationcli v4.0.7

CLI tool that retrieves and prints your Mac's physical location via CoreLocation.

Why you might care

Useful for location-aware scripts, testing, or automation workflows that need GPS coordinates from your Mac. Open-source and lightweight, with JSON output and real-time tracking via --watch flag. Requires Wi-Fi enabled to function.

Categories

Alternatives

geoloc
251
30-day installs · #778
675
90-day · #841
1.9k
365-day · #1009
266
★ GitHub stars · updated 3mo ago

GitHub topics

application corelocation gps gps-location gps-tracker gps-tracking location location-services swift

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "alternatives": [
    "geoloc"
  ],
  "artifacts": [
    {
      "app": [
        "CoreLocationCLI.app"
      ],
      "target": "/Applications/CoreLocationCLI.app"
    },
    {
      "binary": [
        "$APPDIR/CoreLocationCLI.app/Contents/MacOS/CoreLocationCLI"
      ],
      "target": "$HOMEBREW_PREFIX/bin/CoreLocationCLI"
    }
  ],
  "auto_updates": null,
  "categories": [
    "dev-tools",
    "terminal"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Prints location information from CoreLocation",
  "disable_reason": null,
  "disabled": 0,
  "display_name": "Core Location CLI",
  "enrichment_fetched_at": "2026-06-20T22:41:47+00:00",
  "first_seen": "2026-06-20T00:47:34+00:00",
  "full_token": "corelocationcli",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-03-16T04:35:34Z",
  "github_readme_excerpt": "# CoreLocationCLI\n\nCoreLocationCLI gets the physical location of your device and prints it to standard output. If you move it can also print your updated location. *Kill it with CTRL-C.*\n\n![Usage](https://cloud.githubusercontent.com/assets/382183/25063655/52c11234-221d-11e7-81fb-0f8712dac393.gif)\n\nNote for Mac users: make sure Wi-Fi is turned on. Otherwise you will see `kCLErrorDomain error 0`.\n\n## Usage\n\n```sh\nCoreLocationCLI --help\nCoreLocationCLI --version\nCoreLocationCLI [--watch] [--verbose] [--format FORMAT]\nCoreLocationCLI [--watch] [--verbose] --json\n```\n\n| Switch            | Description                                        |\n| ----------------- | -------------------------------------------------- |\n| `-h`, `--help`    | Display this help message and exit                 |\n| `--version`       | Display the program version                        |\n| `-w`, `--watch`   | Continually print location updates                 |\n| `-v`, `--verbose` | Show debugging output                              |\n| `-f`, `--format`  | Print a string with the specified substitutions    |\n| `-j`, `--json`    | Print a JSON object with all available information |\n\nWith the format specifiers:\n\n| Format                   | Description                                         |\n| ------------------------ | --------------------------------------------------- |\n| `%latitude`              | Latitude (degrees north; negative for south)        |\n| `%longitude`             | Longitude (degrees east; negative for west)         |\n| `%altitude`              | Altitude in meters                                  |\n| `%direction`             | Degrees from true north                             |\n| `%speed`                 | Speed in meters per second                          |\n| `%h_accuracy`            | Horizontal accuracy in meters                       |\n| `%v_accuracy`            | Vertical accuracy in meters                         |\n| `%time`                  | Timestamp of the locatio",
  "github_repo": "fulldecent/corelocationcli",
  "github_stars": 266,
  "github_topics": [
    "application",
    "corelocation",
    "gps",
    "gps-location",
    "gps-tracker",
    "gps-tracking",
    "location",
    "location-services",
    "swift"
  ],
  "homepage": "https://github.com/fulldecent/corelocationcli",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 251,
  "installs_365d": 1911,
  "installs_90d": 675,
  "last_seen": "2026-06-20T00:47:34+00:00",
  "llm_generated_at": "2026-06-20T23:05:32+00:00",
  "llm_model": "claude-haiku-4-5",
  "names": [
    "Core Location CLI"
  ],
  "one_liner": "CLI tool that retrieves and prints your Mac\u0027s physical location via CoreLocation.",
  "rank_30d": 778,
  "rank_365d": 1009,
  "rank_90d": 841,
  "raw_hash": "ee2d8cc15a9c579d",
  "ruby_source_path": "Casks/c/corelocationcli.rb",
  "tap": "homebrew/cask",
  "token": "corelocationcli",
  "version": "4.0.7",
  "why_use_this": "Useful for location-aware scripts, testing, or automation workflows that need GPS coordinates from your Mac. Open-source and lightweight, with JSON output and real-time tracking via --watch flag. Requires Wi-Fi enabled to function."
}