# 使用 Homebrew, apt, Nix, zypper, winget 安装 shepherd

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

## 安装

```sh
sudo av install brew:shepherd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install shepherd
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install shepherd
```

  证据: Debian stable package indexes: shepherd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#shepherd
```

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

- zypper (92%):

```sh
sudo zypper install shepherd
```

  证据: openSUSE Tumbleweed package metadata: shepherd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id BeyondCode.Herd -e
```

  证据: Windows Package Manager source index: BeyondCode.Herd from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:shepherd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/shepherd>
- **版本:** 1.0.9
- **来源摘要:** Service manager that looks after the herd of system services
- **主页:** <https://www.gnu.org/software/shepherd/>
- **上游文档:** <https://www.gnu.org/software/shepherd/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/shepherd/shepherd-1.0.9.tar.gz>
- **最后更新:** 2026-06-22T14:06:17-07:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- herd (cli)
- shepherd (cli)
- herd (别名)
- shepherd (别名)

## 依赖

- guile
- guile-fibers

## 构建依赖

- gnu-sed
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.9
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://www.gnu.org/software/shepherd/
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## 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/shepherd.scm, $XDG_CONFIG_HOME/shepherd/init.scm, ~/.config/shepherd/init.scm
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** shepherd
- **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

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

- Debian apt - shepherd - 1.0.3-1: normalized package name match | Debian stable package indexes: shepherd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU Daemon Shepherd is a system service manager | https://www.gnu.org/software/shepherd/
- Nix - shepherd: normalized package name match | nixpkgs package indexes: pkgs/by-name/sh/shepherd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - shepherd - 0.10.2-1.9: normalized package name match | openSUSE Tumbleweed package metadata: shepherd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Init and service manager | https://www.gnu.org/software/shepherd/
- zypper - shepherd-bash-completion - 0.10.2-1.9: normalized package name match | openSUSE Tumbleweed package metadata: shepherd-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for shepherd | https://www.gnu.org/software/shepherd/
- zypper - shepherd-bins - 0.10.2-1.9: normalized package name match | openSUSE Tumbleweed package metadata: shepherd-bins from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Shepherd's init binaries | https://www.gnu.org/software/shepherd/
- winget - BeyondCode.Herd: installed executable or alias match | Windows Package Manager source index: BeyondCode.Herd from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [guile](https://pkg.so/zh-hans/brew/guile/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [gnu-sed](https://pkg.so/zh-hans/brew/gnu-sed/) - Build dependency declared by Homebrew.
- [s6-rc](https://pkg.so/zh-hans/brew/s6-rc/) - Shares pkgdb curated category or tags: cli, init, service-management, service-manager, system.
- [systemd](https://pkg.so/zh-hans/brew/systemd/) - Shares pkgdb curated category or tags: cli, init, service-manager, system, system-services.
- [jsvc](https://pkg.so/zh-hans/brew/jsvc/) - Shares pkgdb curated category or tags: cli, daemon, service-management, system.
- [lunchy](https://pkg.so/zh-hans/brew/lunchy/) - Shares pkgdb curated category or tags: cli, service-management, system.
- [direvent](https://pkg.so/zh-hans/brew/direvent/) - Shares pkgdb curated category or tags: cli, daemon, gnu, system.
- [coreutils](https://pkg.so/zh-hans/brew/coreutils/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [dbus](https://pkg.so/zh-hans/brew/dbus/) - Shares pkgdb curated category or tags: cli, daemon, system.
- [bash](https://pkg.so/zh-hans/brew/bash/) - Shares pkgdb curated category or tags: cli, gnu, system.
- [findutils](https://pkg.so/zh-hans/brew/findutils/) - Local package facts share a topical domain. Shared terms: cli, gnu, management, system.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
