Automic VaultAutomic Vault

brew

Install dark-mode with Homebrew

Control the macOS dark mode from the command-line. Version 3.0.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dark-mode

local Homebrew formula metadata

overview

Package summary

Control the macOS dark mode from the command-line

Commands and aliases

  • dark-mode

history

Project history and usage

dark-mode is a small macOS command-line utility for toggling, enabling, disabling, and querying the system dark mode state.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2017: 2.x releases were published on GitHub.
  • 2019: v3.0.0 was published.
  • 2021: v3.0.2 was published.

Related projects

  • The README links related official projects including dark-mode-cli, node-dark-mode, and alfred-dark-mode.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 11 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dark-modecliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.0.2
manager updated
local dataok
upstreamcurrent
latest detectedv3.0.2

https://github.com/sindresorhus/dark-mode

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:dark-mode
Version3.0.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dark-mode
Homepagehttps://github.com/sindresorhus/dark-mode
Repositoryhttps://github.com/sindresorhus/dark-mode
Upstream docshttps://github.com/sindresorhus/dark-mode
LicenseMIT
Source archivehttps://github.com/sindresorhus/dark-mode/archive/refs/tags/v3.0.2.tar.gz
Bottleavailable (on arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedark-mode
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment