pkg.soopen package index

brew / rank 9302

Install zzz with Homebrew, apk, Nix

Command-line tool to put Macs to sleep. Version 1 via Homebrew; verified 2026-07-10. Also installable with nix: nix profile install nixpkgs#zzz.

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 small macOS command-line program that asks the operating system's power-management service to put the machine to sleep immediately.

Project history

The project's manual page is dated 11 August 2011 and describes a single-purpose system utility authored by David Parsons. The upstream C source remains intentionally small: it locates the IOKit power-management service, calls `IOPMSleepSystem`, reports errors, and exits.

Adoption history

The official README documents both traditional make-based installation into `/usr/local/bin` and Homebrew installation. This positions Zzz as a compact packaged convenience for shell users rather than a larger application or daemon.

How it is used

Run `Zzz` with no arguments to request immediate sleep. The manual documents a zero exit status on success and a nonzero status on failure; no root access is required.

Why package nerds care

Zzz is a characteristic micro-utility: a stable, memorable command packages a platform API call that would otherwise require custom C code or a less discoverable system workflow. Its makefile, manual page, C source, and Homebrew path exemplify the durable Unix packaging of tiny native tools.

Timeline

  • 2011-08-11: The Zzz manual page documents the macOS sleep command.
  • Later upstream README: Traditional make installation and Homebrew installation are documented side by side.

Related projects

  • The README compares Zzz with SleepNow, while its implementation directly uses Apple's IOKit power-management interfaces.

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-08-04
manager version1
manager updated2026-07-10
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/Orc/Zzz

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
LicenseLicenseRef-Homebrew-public-domain
Source archivehttps://github.com/Orc/Zzz/archive/refs/tags/v1.tar.gz
Last updated2026-07-10T09:37:19-04:00
Pulseupdated
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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation