switchaudio-osx

Install command:
brew install switchaudio-osx

Change macOS audio source from the command-line

https://github.com/deweller/switchaudio-osx/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/switchaudio-osx.json

Formula code: switchaudio-osx.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
monterey ✅
big sur ✅
macOS on
Intel
sonoma ✅
ventura ✅
monterey ✅
big sur ✅

Current versions:

stable ✅ 1.2.2
head ⚡️ HEAD

Requires: Xcode (build), macOS

Binaries: SwitchAudioSource

GitHub Packages downloads:

Last 30 days43,481
Downloads453,015
Analytics install events (30 days)1,779
Downloads / install events (30 days)24.4×

Source: GitHub Packages, fetched 2026-11-15T00:56:53Z. Analytics dates: 2026-10-16 to 2026-11-15. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs1,7734,21913,856
Installs (--HEAD)61027
Installs on Request1,7734,21613,851
Installs on Request (--HEAD)61027
Build Errors0