macOS
brew install dark-modelocal Homebrew formula metadata
brew / rank 7733
Control the macOS dark mode from the command-line. Version 3.0.2 via Homebrew; verified from local package data.
install
brew install dark-modelocal Homebrew formula metadata
overview
Control the macOS dark mode from the command-line
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
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 |
|---|---|---|---|
dark-mode | 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:dark-mode |
|---|---|
| Version | 3.0.2 |
| Package manager | Homebrew |
| Homepage | https://github.com/sindresorhus/dark-mode |
| Repository | https://github.com/sindresorhus/dark-mode |
| Bottle | not recorded |
| Service | none declared |
source 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.