zzz
« Back to VersTracker
Description:
Command-line tool to put Macs to sleep
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: macos sleep cli utility automation
Install: brew install zzz
About:
Zzz is a lightweight command-line utility designed for macOS that allows users to instantly put their Mac to sleep from the terminal. It provides a simple and scriptable alternative to navigating system menus, making it ideal for automation and power users. The tool executes sleep commands efficiently without requiring GUI interaction.
Key Features:
  • Instant sleep activation via terminal command
  • Lightweight and fast execution
  • Scriptable for automation workflows
  • No GUI dependencies
Use Cases:
  • Automating sleep triggers in shell scripts
  • Locking workstation quickly from the command line
  • Saving power in headless or remote server environments
Alternatives:
  • pmset – Built-in macOS power management tool, more complex but offers broader system control
  • osascript – Can trigger sleep via AppleScript but requires more verbose syntax
Version History
Detected Version Rev Change Commit
Sep 11, 2025 7:21pm 0 VERSION_BUMP dcbb7247