# sleepwatcher を Homebrew, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:sleepwatcher
```

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

### macOS

- Homebrew (100%):

```sh
brew install sleepwatcher
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sleepwatcher
```

  証拠: MacPorts ports tree: sysutils/sleepwatcher/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sleepwatcher
```

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

## パッケージ情報

- **パッケージキー:** brew:sleepwatcher
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/sleepwatcher>
- **バージョン:** 2.2.1
- **ソース概要:** Monitors sleep, wakeup, and idleness of a Mac
- **ホームページ:** <https://www.bernhard-baehr.de/>
- **上流ドキュメント:** <https://www.bernhard-baehr.de/>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://www.bernhard-baehr.de/sleepwatcher_2.2.1.tgz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- 注意点: For SleepWatcher to work, you will need to write sleep and wakeup scripts, located here when using brew services: ~/.sleep ~/.wakeup
- Bottle: 利用可能 対象 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.2.1
- ローカルデータ: OK
- 上流リポジトリ: https://www.bernhard-baehr.de/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service

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

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

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

- Nix - sleepwatcher: normalized package name match | nixpkgs package indexes: pkgs/by-name/sl/sleepwatcher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - sleepwatcher: normalized package name match | MacPorts ports tree: sysutils/sleepwatcher/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Productivity CLI packages](https://pkg.so/ja/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [mole](https://pkg.so/ja/brew/mole/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mas](https://pkg.so/ja/brew/mas/) - Shares pkgdb curated category or tags: cli, macos, system.
- [cliclick](https://pkg.so/ja/brew/cliclick/) - Shares pkgdb curated category or tags: automation, cli, macos, system.
- [osx-cpu-temp](https://pkg.so/ja/brew/osx-cpu-temp/) - Shares pkgdb curated category or tags: cli, macos, system.
- [fileicon](https://pkg.so/ja/brew/fileicon/) - Shares pkgdb curated category or tags: cli, macos, system.
- [m-cli](https://pkg.so/ja/brew/m-cli/) - Shares pkgdb curated category or tags: automation, cli, macos, system.
- [reattach-to-user-namespace](https://pkg.so/ja/brew/reattach-to-user-namespace/) - Shares pkgdb curated category or tags: cli, macos, system.
- [mist-cli](https://pkg.so/ja/brew/mist-cli/) - Shares pkgdb curated category or tags: cli, macos, system.
- [direvent](https://pkg.so/ja/brew/direvent/) - Local package facts share a topical domain. Shared terms: cli, daemon, monitoring, monitors, system.

## Combined YAML source

View the package source record on GitHub. [combined/sleepwatcher.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sleepwatcher.yml)


## ソース

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