pkg.soopen package index

brew / rank 7733

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 bottle metadata was recorded.

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-modeexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version3.0.2
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:dark-mode
Version3.0.2
Package managerHomebrew
Homepagehttps://github.com/sindresorhus/dark-mode
Repositoryhttps://github.com/sindresorhus/dark-mode
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated package history
  • pkg.so package database
  • pkgdb category and tag curation