# Install sleepwatcher

Monitors sleep, wakeup, and idleness of a Mac. Version 2.2.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sleepwatcher
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sleepwatcher
```

  Evidence: 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
```

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

## Package Facts

- **Package key:** brew:sleepwatcher
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/sleepwatcher>
- **Version:** 2.2.1
- **Source summary:** Monitors sleep, wakeup, and idleness of a Mac
- **Homepage:** <https://www.bernhard-baehr.de/>
- **Upstream docs:** <https://www.bernhard-baehr.de/>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://www.bernhard-baehr.de/sleepwatcher_2.2.1.tgz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- sleepwatcher (cli)
- sleepwatcher (alias)

## Install Behavior

- Post-install hook: not defined
- Service: declared
- Caveats: For SleepWatcher to work, you will need to write sleep and wakeup scripts, located here when using brew services: ~/.sleep ~/.wakeup
- Bottle: available on arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.2.1
- Local data status: ok
- Upstream repository: https://www.bernhard-baehr.de/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## Notes de sécurité

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related Links

- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://www.automicvault.com/fr/pkg/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [mole](https://www.automicvault.com/fr/pkg/brew/mole/) - Shares av.db curated category or tags: cli, macos, system.
- [mas](https://www.automicvault.com/fr/pkg/brew/mas/) - Shares av.db curated category or tags: cli, macos, system.
- [cliclick](https://www.automicvault.com/fr/pkg/brew/cliclick/) - Shares av.db curated category or tags: automation, cli, macos, system.
- [osx-cpu-temp](https://www.automicvault.com/fr/pkg/brew/osx-cpu-temp/) - Shares av.db curated category or tags: cli, macos, system.
- [m-cli](https://www.automicvault.com/fr/pkg/brew/m-cli/) - Shares av.db curated category or tags: automation, cli, macos, system.
- [reattach-to-user-namespace](https://www.automicvault.com/fr/pkg/brew/reattach-to-user-namespace/) - Shares av.db curated category or tags: cli, macos, system.
- [fileicon](https://www.automicvault.com/fr/pkg/brew/fileicon/) - Shares av.db curated category or tags: cli, macos, system.
- [mist-cli](https://www.automicvault.com/fr/pkg/brew/mist-cli/) - Shares av.db curated category or tags: cli, macos, system.
- [devcockpit](https://www.automicvault.com/fr/pkg/brew/devcockpit/) - Local package facts share a topical domain. Shared terms: cli, macos, monitoring, system.
- [direvent](https://www.automicvault.com/fr/pkg/brew/direvent/) - Local package facts share a topical domain. Shared terms: cli, daemon, monitoring, monitors, system.

## Sources

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