# 使用 Homebrew, apk, apt, MacPorts, Nix 安装 runit

查看 runit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install runit
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install runit
```

  证据: 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
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:runit
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/runit>
- **版本:** 2.3.1
- **来源摘要:** Collection of tools for managing UNIX services
- **主页:** <https://smarden.org/runit/>
- **仓库:** <https://github.com/g-pape/runit>
- **上游文档:** <https://smarden.org/runit>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://smarden.org/runit/runit-2.3.1.tar.gz>
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

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

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- 注意事项: 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: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 2.3.1
- 本地数据: OK
- 上游仓库: https://smarden.org/runit/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

没有找到 runit 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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:** 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

## 其他软件包管理器记录

- 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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [s6](https://www.automicvault.com/zh-hans/pkg/brew/s6/) - Shares av.db curated category or tags: cli, init, service-supervision, system, unix.
- [monit](https://www.automicvault.com/zh-hans/pkg/brew/monit/) - Shares av.db curated category or tags: cli, system, system-administration, unix.
- [quotatool](https://www.automicvault.com/zh-hans/pkg/brew/quotatool/) - Shares av.db curated category or tags: cli, system, system-administration, unix.
- [s6-rc](https://www.automicvault.com/zh-hans/pkg/brew/s6-rc/) - Shares av.db curated category or tags: cli, init, system, unix.
- [agedu](https://www.automicvault.com/zh-hans/pkg/brew/agedu/) - Shares av.db curated category or tags: cli, system, unix.
- [archey4](https://www.automicvault.com/zh-hans/pkg/brew/archey4/) - Shares av.db curated category or tags: cli, system, unix.
- [bacula-fd](https://www.automicvault.com/zh-hans/pkg/brew/bacula-fd/) - Shares av.db curated category or tags: cli, system, system-administration.
- [bash](https://www.automicvault.com/zh-hans/pkg/brew/bash/) - Shares av.db curated category or tags: cli, system, unix.
- [systemd](https://www.automicvault.com/zh-hans/pkg/brew/systemd/) - Local package facts share a topical domain. Shared terms: cli, init, service, services, system.
- [conman](https://www.automicvault.com/zh-hans/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)


## 来源

- 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
