🍺 BREW Explorer

← all formulae

bluetoothconnector

brew install bluetoothconnector v2.1.0 MIT

Connect and disconnect Bluetooth devices

37
30-day installs · #5363
128
90-day · #5045
571
365-day · #4844
559
★ GitHub stars · updated 1y ago

GitHub topics

airpods automator-workflow beats beatsx bluetooth macos macos-cli shortcut swift swift-package swift-package-manager

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Connect and disconnect Bluetooth devices",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:55+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bluetoothconnector",
  "github_default_branch": "master",
  "github_last_commit_at": "2025-05-19T20:49:44Z",
  "github_readme_excerpt": "\u003cimg width=450 alt=\"screen shot 2019-02-16 at 11 30 23 am\" src=\"https://user-images.githubusercontent.com/4634735/52902443-cf2f6000-31de-11e9-844e-c5459b31ed87.png\"\u003e\n\n# BluetoothConnector \u003cimg src=\"https://app.bitrise.io/app/e673c0a1d059026a/status.svg?token=KfzTO6gwCraFRsJdxzpnew\u0026branch=master\"\u003e [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Flapfelix%2FBluetoothConnector%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/lapfelix/BluetoothConnector)\nSimple macOS CLI to connect/disconnect a Bluetooth device. I made it to easily connect my BeatsX earbuds (I thought the W1 chip would make the switch from my iPhone to my Mac seamless, but we\u0027re not there yet, apparently). There\u0027s probably a program that already does this but I didn\u0027t find it.\n\nYou can download a compiled version here: https://github.com/lapfelix/BluetoothConnector/releases\n\nIf you have issues running the compiled binary (`permission denied` error), try running this command in Terminal:\n`chmod +x /path/to/BluetoothConnector`\n\n# Installation\n\n### [Homebrew](https://brew.sh)\n```\nbrew install bluetoothconnector\n```\n\n### [Mint](https://github.com/yonaskolb/Mint)\n```\nmint install lapfelix/BluetoothConnector\n```\n\n### Manually\n```\nswift package update\nswift build -c release\nmv .build/release/BluetoothConnector /usr/local/bin/BluetoothConnector\n```\n\n# Usage\n#### Running\nReplace `00-00-00-00-00-00` with your device\u0027s MAC address. You can get it by alt-clicking the Bluetooth menu icon or by running BluetoothConnector without any arguments\n\n##### To toggle the connection (connect/disconnect) and be notified about it\n```\nBluetoothConnector 00-00-00-00-00-00 --notify\n```\n\n##### To connect and be notified about it\n```\nBluetoothConnector --connect 00-00-00-00-00-00 --notify\nBluetoothConnector -c 00-00-00-00-00-00 --notify\n```\n\n##### To disconnect\n```\nBluetoothConnector --disconnect 00-00-00-00-00-00\nBluetoothConnector -d 00-00-00-00-00-00\n```\n\n##### Notific",
  "github_repo": "lapfelix/BluetoothConnector",
  "github_stars": 559,
  "github_topics": [
    "airpods",
    "automator-workflow",
    "beats",
    "beatsx",
    "bluetooth",
    "macos",
    "macos-cli",
    "shortcut",
    "swift",
    "swift-package",
    "swift-package-manager"
  ],
  "homepage": "https://github.com/lapfelix/BluetoothConnector",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 37,
  "installs_365d": 571,
  "installs_90d": 128,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "bluetoothconnector",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 5363,
  "rank_365d": 4844,
  "rank_90d": 5045,
  "raw_hash": "841197ac0a4cfc36",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bluetoothconnector.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.1.0",
  "versioned_formulae": [],
  "why_use_this": null
}