# 使用 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
- **版本:** 2.3.1
- **来源摘要:** Collection of tools for managing UNIX services
- **主页:** <https://smarden.org/runit/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.3.1

## 安全说明

没有找到 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
## 其他软件包管理器记录

- 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


## Combined YAML source

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


## 来源

- pkg.so package database
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
