Automic VaultAutomic Vault

brew

Install zzz with Homebrew, apk, Nix

Command-line tool to put Macs to sleep. Version 1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zzz

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add zzz

Alpine Linux edge package indexes · zzz · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#zzz

nixpkgs package indexes · pkgs/by-name/zz/zzz/package.nix · source: api.github.com

overview

Package summary

Command-line tool to put Macs to sleep

Commands and aliases

  • Zzz

history

Project history and usage

Zzz is a tiny macOS command-line utility that immediately requests system sleep. It is essentially a packaged one-command wrapper around Apple's IOKit power-management APIs.

Project history

The upstream README presents Zzz as a command-line macOS sleep program similar to SleepNow, with traditional make-based installation and a Homebrew installation path. The source is intentionally small C code using IOMasterPort, IOPMFindPowerManagement, and IOPMSleepSystem to ask macOS to sleep.

There is little public narrative around the project beyond the README and source, so its history is best understood as preservation of a tiny utility rather than an evolving application ecosystem.

Adoption history

Adoption appears narrow: users install it when they want a memorable terminal command that sleeps a Mac immediately, especially in scripts or shell workflows where a GUI sleep command is awkward. The README's explicit Homebrew instructions show that package-manager installation is part of the intended usage story.

How it is used

Usage is intentionally minimal: run Zzz, and the Mac sleeps immediately. The program has no configuration file, credentials, long-running daemon, or visible help flow; its behavior is the side effect of calling the macOS power-management sleep API.

Why package nerds care

Zzz is package-nerd significant as an extreme small-package case. It demonstrates why package indexes contain tiny platform appliances: a few lines of C plus a stable command name can be more convenient than remembering or retyping lower-level system calls or scripts.

It also shows the maintenance quirks of old macOS C utilities: even a sleep wrapper depends on SDK headers, IOKit linkage, and small compatibility fixes over time.

Timeline

  • Public README era: Zzz is documented as a command-line macOS sleep program with make-based installation and Homebrew installation instructions.
  • Current source: Zzz implements sleep by opening the macOS power-management connection and calling IOPMSleepSystem.

Related projects

  • Related tools and APIs include Apple's IOKit power-management APIs, pmset sleepnow, SleepNow-style utilities, SleepWatcher, caffeinate as the opposite keep-awake workflow, and other macOS command-line power-management helpers.

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
Zzzcliglobal 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 version1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/Orc/Zzz

  • infoNo package-manager update timestamp was available.low confidence
  • infoNo cached GitHub release or tag data was available.https://github.com/Orc/Zzznone confidence

install metadata

Package metadata

Package keybrew:zzz
Version1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zzz
Homepagehttps://github.com/Orc/Zzz
Repositoryhttps://github.com/Orc/Zzz
Upstream docshttps://github.com/Orc/Zzz#readme
LicenseLicenseRef-Homebrew-public-domain
Source archivehttps://github.com/Orc/Zzz/archive/refs/tags/v1.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 Namezzz
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

zzz

nix profile install nixpkgs#zzz
  • normalized package name match
  • Matched by: Zzz
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zz/zzz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

zzz 0.2.0-r0

Suspend or hibernate your computer

https://github.com/jirutka/zzz

sudo apk add zzz
  • License: MIT
  • Architecture: x86_64
  • Source Package: zzz
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zzz
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zzz from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zzz-doc 0.2.0-r0

Suspend or hibernate your computer (documentation)

https://github.com/jirutka/zzz

sudo apk add zzz-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: zzz
  • normalized package name match
  • Matched by: Zzz
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zzz-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment