# 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>
- **ライセンス:** LicenseRef-Homebrew-public-domain
- **ソースアーカイブ:** <https://github.com/Orc/Zzz/archive/refs/tags/v1.tar.gz>
- **最終更新:** 2026-07-10T09:37:19-04:00
- **生成日時:** 2026-08-04T22:13:35+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-08-04
- マネージャ版: 1
- マネージャ更新日: 2026-07-10
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Orc/Zzz
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Zzz is a small macOS command-line program that asks the operating system's power-management service to put the machine to sleep immediately.

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

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.

### 採用の歴史

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.

### 使われ方

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.

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

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.

### タイムライン

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

### ソース

- <https://github.com/Orc/Zzz#readme>
- <https://github.com/Orc/Zzz/blob/main/Zzz.8>
- <https://github.com/Orc/Zzz/blob/main/Zzz.c>


## セキュリティノート

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://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [powerman](https://pkg.so/ja/brew/powerman/) - Shares pkgdb curated category or tags: cli, power-management, system.
- [apcupsd](https://pkg.so/ja/brew/apcupsd/) - Shares pkgdb curated category or tags: cli, power-management, system.
- [sleepwatcher](https://pkg.so/ja/brew/sleepwatcher/) - Shares pkgdb curated category or tags: cli, macos, sleep, system.
- [nut](https://pkg.so/ja/brew/nut/) - Shares pkgdb curated category or tags: cli, power-management, system.
- [libzip](https://pkg.so/ja/brew/libzip/) - Shares pkgdb curated category or tags: c, cli, system.
- [fastfetch](https://pkg.so/ja/brew/fastfetch/) - Shares pkgdb curated category or tags: c, cli, system.
- [mole](https://pkg.so/ja/brew/mole/) - Shares pkgdb curated category or tags: cli, macos, system.
- [lima](https://pkg.so/ja/brew/lima/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mas](https://pkg.so/ja/brew/mas/) - Local package facts share a topical domain. Shared terms: cli, command-line, line, macos, management.
- [mist-cli](https://pkg.so/ja/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/mxcl/pkgdb/blob/main/combined/zzz.yml)


## ソース

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