pkg.soopen package index

brew / 排名 1390

使用 Homebrew, MacPorts, Nix 安装 switchaudio-osx

查看 switchaudio-osx 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install switchaudio-osx

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install switchaudio-osx

MacPorts ports tree · audio/switchaudio-osx/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#switchaudio-osx

nixpkgs package indexes · pkgs/by-name/sw/switchaudio-osx/package.nix · 来源: api.github.com

概览

软件包摘要

Change macOS audio source from the command-line

命令和别名

  • SwitchAudioSource

历史

项目历史与用法

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.

时间线

  • 2008: Copyright attribution begins for Devon Weller in the upstream license/README.
  • 2011: Copyright attribution begins for Christian Zuckschwerdt in the upstream README.
  • Homebrew era: The README documents brew install switchaudio-osx.
  • macOS 11.2 era: The README states the utility was tested through OS 11.2.

Related projects

  • The project is related to macOS automation, hotkey managers, and dotfile scripts that need to select audio devices without GUI interaction.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:audio

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
SwitchAudioSource可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.2.2
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:switchaudio-osx
版本1.2.2
软件包管理器Homebrew
主页https://github.com/deweller/switchaudio-osx/
仓库https://github.com/deweller/switchaudio-osx
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

switchaudio-osx

nix profile install nixpkgs#switchaudio-osx
  • normalized package name match
  • 匹配方式:Switchaudio Osx
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sw/switchaudio-osx/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

switchaudio-osx

sudo port install switchaudio-osx
  • normalized package name match
  • 匹配方式:Switchaudio Osx
MacPorts ports tree · api.github.com · MacPorts ports tree: audio/switchaudio-osx/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation