# Install monit with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, winget

Manage and monitor processes, files, directories, and devices. Version 6.0.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:monit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install monit
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install monit
```

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

### Linux

- apk (92%):

```sh
sudo apk add monit
```

  Evidence: Alpine Linux edge package indexes: monit from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install monit
```

  Evidence: Debian stable package indexes: monit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install monit
```

  Evidence: Fedora Rawhide package metadata: monit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#monit
```

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

- pacman (92%):

```sh
sudo pacman -S monit
```

  Evidence: Arch Linux sync databases: monit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id fzf404.Monit -e
```

  Evidence: Windows Package Manager source index: fzf404.Monit from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:monit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/monit>
- **Version:** 6.0.0
- **Source summary:** Manage and monitor processes, files, directories, and devices
- **Homepage:** <https://mmonit.com/monit/>
- **Repository:** <https://bitbucket.org/tildeslash/monit>
- **Upstream docs:** <https://mmonit.com/monit/documentation/monit.html>
- **License:** AGPL-3.0-or-later
- **Source archive:** <https://mmonit.com/monit/dist/monit-6.0.0.tar.gz>
- **Last updated:** 2026-06-22T14:05:31-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- monit (cli)
- monit (alias)

## Dependencies

- openssl@3

## Uses from macOS

- libxcrypt

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.0.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://mmonit.com/monit/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Monit is a Unix-focused process and service supervision tool maintained under the Tildeslash/M/Monit project. Its manual defines the core role plainly: monitor processes, programs, files, directories, filesystems, network connections, scripts, and system resources, then take actions such as restart, stop, alert, or execute a configured command when a check fails.

### Project history

The package occupies a practical space between init systems, cron, and full metrics platforms. Operators write a compact monitrc file, run Monit as a daemon, and use it for local recovery loops such as restarting web servers, checking disk or memory thresholds, probing HTTP/SMTP/MySQL-like protocols, and exposing status through its built-in HTTP(S) interface. M/Monit extends that pattern into a central management product that treats Monit as the per-host agent.

### How it is used

Monit gained visibility in early web operations because it handled fleets of identical application worker processes well. Twitter's 2010 engineering writeup says Twitter had relied on Monit for automatic recovery and monitoring of Mongrel workers, then kept Monit supervising the Unicorn master process while adding a more specialized process-tree watcher. Later release notes show the project continuing to track operational needs such as container PID 1 behavior, stronger checksum support, protocol checks, HTTP interface hardening, and platform-specific process accounting.

### Sources

- <https://bitbucket.org/tildeslash/monit>
- <https://blog.x.com/engineering/en_us/a/2010/unicorn-power>
- <https://mmonit.com/monit/changes/>
- <https://mmonit.com/monit/documentation/monit.html>
- <https://www.mmonit.com/>


## Security Notes

formula declares a Homebrew service.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.monitrc, /etc/monitrc, @sysconfdir@/monitrc, ./monitrc

## Credential files

- Unix: ~/.monitrc, /etc/monitrc, @sysconfdir@/monitrc, ./monitrc
## Source Database Details

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

## Other Package-Manager Records

- Debian apt - monit - 1:5.34.3-1: normalized package name match | Debian stable package indexes: monit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utility for monitoring and managing daemons or similar programs | https://mmonit.com/monit/
- Nix - monit: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/monit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - monit - 1:5.33.0-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: monit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | utility for monitoring and managing daemons or similar programs | https://mmonit.com/monit/
- apk - monit - 5.35.2-r0: normalized package name match | Alpine Linux edge package indexes: monit from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Managing and monitoring on a UNIX system | https://mmonit.com/monit/
- apk - monit-doc - 5.35.2-r0: normalized package name match | Alpine Linux edge package indexes: monit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Managing and monitoring on a UNIX system (documentation) | https://mmonit.com/monit/
- apk - monit-openrc - 5.35.2-r0: normalized package name match | Alpine Linux edge package indexes: monit-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Managing and monitoring on a UNIX system (OpenRC init scripts) | https://mmonit.com/monit/
- dnf - monit - 5.35.2-2.fc44: normalized package name match | Fedora Rawhide package metadata: monit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Manages and monitors processes, files, directories and devices | https://mmonit.com/monit/
- pacman - monit - 5.35.2-2: normalized package name match | Arch Linux sync databases: monit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Utility for managing and monitoring, processes, files, directories and devices on a *NIX system | https://mmonit.com/monit/
- MacPorts - monit: normalized package name match | MacPorts ports tree: sysutils/monit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - fzf404.Monit: normalized package name match | Windows Package Manager source index: fzf404.Monit from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [uptimed](https://www.automicvault.com/pkg/brew/uptimed/) - Shares av.db curated category or tags: cli, monitoring, system, system-administration.
- [asitop](https://www.automicvault.com/pkg/brew/asitop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [collectd](https://www.automicvault.com/pkg/brew/collectd/) - Shares av.db curated category or tags: cli, monitoring, system.
- [ctop](https://www.automicvault.com/pkg/brew/ctop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [duf](https://www.automicvault.com/pkg/brew/duf/) - Shares av.db curated category or tags: cli, monitoring, system.
- [dwatch](https://www.automicvault.com/pkg/brew/dwatch/) - Shares av.db curated category or tags: cli, monitoring, system.
- [gotop](https://www.automicvault.com/pkg/brew/gotop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [htop](https://www.automicvault.com/pkg/brew/htop/) - Shares av.db curated category or tags: cli, monitoring, system.
- [s6-rc](https://www.automicvault.com/pkg/brew/s6-rc/) - Local package facts share a topical domain. Shared terms: cli, management, process, process-supervision, service.
- [monitoring-plugins](https://www.automicvault.com/pkg/brew/monitoring-plugins/) - Local package facts share a topical domain. Shared terms: cli, monitoring, openssl, openssl-3, system.
- [nagios-plugins](https://www.automicvault.com/pkg/brew/nagios-plugins/) - Local package facts share a topical domain. Shared terms: cli, monitoring, openssl, openssl-3, system.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
