macOS
brew install dark-modelocal Homebrew formula metadata
brew
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 | cli | global executable |
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.
https://github.com/sindresorhus/dark-mode
install metadata
| Package key | brew:dark-mode |
|---|---|
| Version | 3.0.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/dark-mode |
| Homepage | https://github.com/sindresorhus/dark-mode |
| Repository | https://github.com/sindresorhus/dark-mode |
| Upstream docs | https://github.com/sindresorhus/dark-mode |
| License | MIT |
| Source archive | https://github.com/sindresorhus/dark-mode/archive/refs/tags/v3.0.2.tar.gz |
| Bottle | available (on arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dark-mode |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
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.