macOS
brew install switchaudio-osxlocal Homebrew formula metadata
sudo port install switchaudio-osxMacPorts ports tree · audio/switchaudio-osx/Portfile · source: api.github.com
brew / rank 1390
Change macOS audio source from the command-line. Version 1.2.2 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#switchaudio-osx.
install
brew install switchaudio-osxlocal Homebrew formula metadata
sudo port install switchaudio-osxMacPorts ports tree · audio/switchaudio-osx/Portfile · source: api.github.com
nix profile install nixpkgs#switchaudio-osxnixpkgs package indexes · pkgs/by-name/sw/switchaudio-osx/package.nix · source: api.github.com
overview
Change macOS audio source from the command-line
history
SwitchAudioSource is a macOS command-line utility for switching the system audio source without opening the graphical sound settings. Its appeal is narrow but durable: shell users, automation users, and hotkey-tool users can script audio input, output, system device, mute, and cycling behavior.
The upstream README describes a command-line-only utility for Mac OS X, tested across OS X 10.7 through macOS 11.2. The license and README credit Devon Weller beginning in 2008 and Christian Zuckschwerdt for migrating the project to GitHub and adding the next-device option.
The README explicitly documents Homebrew installation, and the input package facts show the same utility distributed through Homebrew, MacPorts, and Nix. That spread is typical for small macOS-native command-line tools that remain useful because they wrap a missing shell affordance.
Users run SwitchAudioSource to list devices, print the current device, set a device by name, id, or uid, choose input/output/system device type, select human/CLI/JSON output, or toggle mute status for input or output devices. The README gives microphone muting as a hotkey-oriented use case.
Package nerds care because this is exactly the kind of tiny Mac utility package managers preserve: a single-purpose CLI that exposes system behavior to scripts, dotfiles, launchers, and keyboard automation.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
SwitchAudioSource | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:switchaudio-osx |
|---|---|
| Version | 1.2.2 |
| Package manager | Homebrew |
| Homepage | https://github.com/deweller/switchaudio-osx/ |
| Repository | https://github.com/deweller/switchaudio-osx |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
switchaudio-osx
nix profile install nixpkgs#switchaudio-osxswitchaudio-osx
sudo port install switchaudio-osxsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.