# Install runit with Homebrew, apk, apt, MacPorts, Nix

Collection of tools for managing UNIX services. Version 2.3.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install getty-run.

## Install

```sh
sudo av install brew:runit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install runit
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install runit
```

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

### Linux

- apk (92%):

```sh
sudo apk add runit
```

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

- Debian apt (92%):

```sh
sudo apt install runit
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#runit
```

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

## Package facts

- **Package key:** brew:runit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/runit>
- **Version:** 2.3.1
- **Source summary:** Collection of tools for managing UNIX services
- **Homepage:** <https://smarden.org/runit/>
- **Repository:** <https://github.com/g-pape/runit>
- **Upstream docs:** <https://smarden.org/runit>
- **License:** BSD-3-Clause
- **Source archive:** <https://smarden.org/runit/runit-2.3.1.tar.gz>
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- chpst (cli)
- runit (cli)
- runit-init (cli)
- runsv (cli)
- runsvchdir (cli)
- runsvdir (cli)
- svlogd (cli)
- utmpset (cli)
- chpst (alias)
- runit (alias)
- runit-init (alias)
- runsv (alias)
- runsvchdir (alias)
- runsvdir (alias)
- svlogd (alias)
- utmpset (alias)

## Install behavior

- Post-install hook: not defined
- Service: declared
- Caveats: This formula does not install runit as a replacement for init. The service directory is $HOMEBREW_PREFIX/var/service instead of /service. A system service that runs runsvdir with the default service directory is provided. Alternatively you can run runsvdir manually: runsvdir -P $HOMEBREW_PREFIX/var/service Depending on the services managed by runit, this may need to start as root.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 2.3.1
- Local data: ok
- Upstream repository: https://smarden.org/runit/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for runit. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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: /etc/runit/1, /etc/runit/2, /etc/runit/3
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** runit
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** sandvault
- **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 - getty-run - 2.2.0-3: normalized package name match | Debian stable package indexes: getty-run from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | runscripts to supervise getty processes | http://smarden.org/runit/
- Debian apt - runit - 2.2.0-3: normalized package name match | Debian stable package indexes: runit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | system-wide service supervision | http://smarden.org/runit/
- Debian apt - runit-init - 2.2.0-3: normalized package name match | Debian stable package indexes: runit-init from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | system-wide service supervision (as init system) | http://smarden.org/runit/
- Debian apt - runit-run - 2.2.0-3: normalized package name match | Debian stable package indexes: runit-run from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | service supervision (systemd and sysv integration) | http://smarden.org/runit/
- Nix - runit: normalized package name match | nixpkgs package indexes: pkgs/by-name/ru/runit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - getty-run - 2.1.2-59ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: getty-run from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | runscripts to supervise getty processes | http://smarden.org/runit/
- Ubuntu apt - runit - 2.1.2-59ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: runit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | system-wide service supervision | http://smarden.org/runit/
- Ubuntu apt - runit-run - 2.1.2-59ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: runit-run from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | service supervision (systemd and sysv integration) | http://smarden.org/runit/
- apk - runit - 2.3.1-r0: normalized package name match | Alpine Linux edge package indexes: runit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | UNIX init scheme with service supervision | http://smarden.org/runit/
- apk - runit-doc - 2.3.1-r0: normalized package name match | Alpine Linux edge package indexes: runit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | UNIX init scheme with service supervision (documentation) | http://smarden.org/runit/
- apk - runit-openrc - 2.3.1-r0: normalized package name match | Alpine Linux edge package indexes: runit-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | UNIX init scheme with service supervision (OpenRC init scripts) | http://smarden.org/runit/
- MacPorts - runit: normalized package name match | MacPorts ports tree: sysutils/runit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [s6](https://www.automicvault.com/pkg/brew/s6/) - Shares av.db curated category or tags: cli, init, service-supervision, system, unix.
- [monit](https://www.automicvault.com/pkg/brew/monit/) - Shares av.db curated category or tags: cli, system, system-administration, unix.
- [quotatool](https://www.automicvault.com/pkg/brew/quotatool/) - Shares av.db curated category or tags: cli, system, system-administration, unix.
- [s6-rc](https://www.automicvault.com/pkg/brew/s6-rc/) - Shares av.db curated category or tags: cli, init, system, unix.
- [agedu](https://www.automicvault.com/pkg/brew/agedu/) - Shares av.db curated category or tags: cli, system, unix.
- [archey4](https://www.automicvault.com/pkg/brew/archey4/) - Shares av.db curated category or tags: cli, system, unix.
- [bacula-fd](https://www.automicvault.com/pkg/brew/bacula-fd/) - Shares av.db curated category or tags: cli, system, system-administration.
- [bash](https://www.automicvault.com/pkg/brew/bash/) - Shares av.db curated category or tags: cli, system, unix.
- [systemd](https://www.automicvault.com/pkg/brew/systemd/) - Local package facts share a topical domain. Shared terms: cli, init, service, services, system.
- [conman](https://www.automicvault.com/pkg/brew/conman/) - Local package facts share a topical domain. Shared terms: administration, cli, system, system-administration.

## Combined YAML source

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


## Sources

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
