🍺 BREW Explorer

← all formulae

dark-mode

brew install dark-mode v3.0.2 MIT

Control the macOS dark mode from the command-line

11
30-day installs · #8355
36
90-day · #8161
201
365-day · #7348
686
★ GitHub stars · updated 11mo ago

GitHub topics

binary cli cli-app dark-mode homebrew macos swift

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Control the macOS dark mode from the command-line",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:49+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "dark-mode",
  "github_default_branch": "main",
  "github_last_commit_at": "2025-09-11T10:20:06Z",
  "github_readme_excerpt": "# dark-mode\n\n\u003e Control the macOS dark mode from the command-line\n\nRequires macOS 10.10 or later. macOS 10.13 or earlier needs to download the [Swift runtime support libraries](https://support.apple.com/kb/DL1998).\n\n\u003cimg src=\"screenshot.gif\" width=\"509\"\u003e\n\n## Install\n\n###### [Homebrew](http://brew.sh)\n\n```\n$ brew install dark-mode\n```\n\n###### [npm](https://github.com/sindresorhus/dark-mode-cli)\n\n```\n$ npm install --global dark-mode-cli\n```\n\n###### Manually\n\n[Download](https://github.com/sindresorhus/dark-mode/releases/latest) the binary and put it in `/usr/local/bin`.\n\n## Usage\n\n```\n$ dark-mode --help\n\n  Usage\n    $ dark-mode [command]\n\n  Commands\n    \u003cnone\u003e  Toggle dark mode\n    on      Enable dark mode\n    off     Disable dark mode\n    status  Dark mode status\n```\n\n## Build\n\nRun `./build`. The binary can be found at `./bin/dark-mode`.\n\nBuilding in Xcode works, but it does not export a binary.\n\n## Related\n\n- [node-dark-mode](https://github.com/sindresorhus/node-dark-mode) - Node.js port\n- [alfred-dark-mode](https://github.com/sindresorhus/alfred-dark-mode) - Alfred workflow\n",
  "github_repo": "sindresorhus/dark-mode",
  "github_stars": 686,
  "github_topics": [
    "binary",
    "cli",
    "cli-app",
    "dark-mode",
    "homebrew",
    "macos",
    "swift"
  ],
  "homepage": "https://github.com/sindresorhus/dark-mode",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 11,
  "installs_365d": 201,
  "installs_90d": 36,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "dark-mode",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 8355,
  "rank_365d": 7348,
  "rank_90d": 8161,
  "raw_hash": "6a6341d8e4d2026e",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/d/dark-mode.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "3.0.2",
  "versioned_formulae": [],
  "why_use_this": null
}