dark-mode
« Back to VersTracker
Description:
Control the macOS dark mode from the command-line
Type: Formula  |  Latest Version: 3.0.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @sindresorhus  |  formulae.brew.sh
Category: System utilities
Tags: macos dark-mode theme cli utility
Install: brew install dark-mode
About:
Dark-mode is a command-line utility that allows users to toggle and query the appearance setting of macOS between light and dark modes. It provides a simple interface for automation scripts and developers needing to switch themes programmatically. This tool is particularly useful for integrating theme changes into workflows and shell scripts.
Key Features:
  • Toggle between light and dark mode instantly
  • Query the current appearance status
  • Support for automation via shell scripts
  • Lightweight and dependency-free
Use Cases:
  • Automating theme changes based on time of day using cron jobs
  • Integrating with development workflows to match IDE themes
  • Creating accessibility scripts for system-wide UI adjustments
Alternatives:
  • AppleScript – Native but requires more verbose syntax for simple toggles
  • Night Shift – Adjusts color temperature but does not change UI theme
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina
Version History
Detected Version Rev Change Commit
Sep 15, 2025 4:44pm 0 VERSION_BUMP e98be7b6
Sep 14, 2025 6:46am 0 VERSION_BUMP 6b729710