macOS
brew install dark-modelocal Homebrew formula metadata
brew / 順位 7733
dark-mode のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install dark-modelocal Homebrew formula metadata
概要
Control the macOS dark mode from the command-line
履歴
dark-mode is a small macOS command-line utility for toggling, enabling, disabling, and querying the system dark mode state.
The project sits in the Sindre Sorhus ecosystem of narrowly scoped macOS and developer utilities. Its README describes a Swift-built binary for macOS 10.10 or later, with manual binary installation alongside package-manager installation.
The official README presents Homebrew as the primary package-manager install path and also points users to the related npm package dark-mode-cli, which made the same idea convenient for Node.js-centered environments.
The command-line interface is intentionally tiny: running dark-mode with no subcommand toggles the setting, while on, off, and status provide explicit automation-friendly operations.
For package collectors, dark-mode is a good example of a single-purpose desktop automation binary: it is small, scriptable, macOS-specific, and useful in shell aliases, dotfiles, and appearance-switching workflows.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
dark-mode | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:dark-mode |
|---|---|
| バージョン | 3.0.2 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/sindresorhus/dark-mode |
| リポジトリ | https://github.com/sindresorhus/dark-mode |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.