# zzz を Homebrew, apk, Nix でインストール

zzz のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:zzz
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install zzz
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add zzz
```

  証拠: Alpine Linux edge package indexes: zzz from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#zzz
```

  証拠: nixpkgs package indexes: pkgs/by-name/zz/zzz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:zzz
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/zzz>
- **バージョン:** 1
- **ソース概要:** Command-line tool to put Macs to sleep
- **ホームページ:** <https://github.com/Orc/Zzz>
- **リポジトリ:** <https://github.com/Orc/Zzz>
- **上流ドキュメント:** <https://github.com/Orc/Zzz#readme>
- **ライセンス:** LicenseRef-Homebrew-public-domain
- **ソースアーカイブ:** <https://github.com/Orc/Zzz/archive/refs/tags/v1.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- Zzz (cli)
- Zzz (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Orc/Zzz
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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 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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <https://github.com/Orc/Zzz>
- <https://raw.githubusercontent.com/Orc/Zzz/master/README.md>
- <https://raw.githubusercontent.com/Orc/Zzz/master/Zzz.c>
- <https://support.apple.com/guide/mac-help/schedule-your-mac-to-turn-on-or-off-mchl40376151/mac>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zzz
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - zzz: normalized package name match | nixpkgs package indexes: pkgs/by-name/zz/zzz/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - zzz - 0.2.0-r0: normalized package name match | Alpine Linux edge package indexes: zzz from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Suspend or hibernate your computer | https://github.com/jirutka/zzz
- apk - zzz-doc - 0.2.0-r0: normalized package name match | Alpine Linux edge package indexes: zzz-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Suspend or hibernate your computer (documentation) | https://github.com/jirutka/zzz


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [powerman](https://www.automicvault.com/ja/pkg/brew/powerman/) - Shares av.db curated category or tags: cli, power-management, system.
- [nut](https://www.automicvault.com/ja/pkg/brew/nut/) - Shares av.db curated category or tags: cli, power-management, system.
- [sleepwatcher](https://www.automicvault.com/ja/pkg/brew/sleepwatcher/) - Shares av.db curated category or tags: cli, macos, sleep, system.
- [apcupsd](https://www.automicvault.com/ja/pkg/brew/apcupsd/) - Shares av.db curated category or tags: cli, power-management, system.
- [asitop](https://www.automicvault.com/ja/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, macos, system.
- [bluetoothconnector](https://www.automicvault.com/ja/pkg/brew/bluetoothconnector/) - Shares av.db curated category or tags: cli, macos, system.
- [blueutil](https://www.automicvault.com/ja/pkg/brew/blueutil/) - Shares av.db curated category or tags: cli, macos, system.
- [brightness](https://www.automicvault.com/ja/pkg/brew/brightness/) - Shares av.db curated category or tags: cli, macos, system.
- [mas](https://www.automicvault.com/ja/pkg/brew/mas/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, macos, management.
- [mist-cli](https://www.automicvault.com/ja/pkg/brew/mist-cli/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, macos, management.

## Combined YAML source

View the package source record on GitHub. [combined/zzz.yml](https://github.com/automic-vault/db/blob/main/combined/zzz.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
