# 使用 Homebrew 安装 immortal

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

## 安装

```sh
sudo av install brew:immortal
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install immortal
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:immortal
- **软件包管理器:** Homebrew
- **版本:** 0.24.7
- **来源摘要:** OS agnostic (*nix) cross-platform supervisor
- **主页:** <https://immortal.run/>
- **仓库:** <https://github.com/immortal/immortal>
- **最后更新:** 2026-07-26T04:07:48+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- immortal (别名)
- immortalctl (别名)
- immortaldir (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.24.7
## 项目历史与用法

immortal is a small Go process supervisor for Unix-like systems. It packages a familiar daemon-management idea into three commands: immortal for running and supervising a service, immortalctl for status and control, and immortaldir for managing services from YAML files.

### 项目历史

The public GitHub repository was created in 2016 and describes immortal as a cross-platform, OS-agnostic supervisor for the *nix family. The project site presents it as a practical service wrapper with manual pages, packaging links, examples, and a run.yml workflow.

The run.yml documentation shows the project's deployment bias: a service can ship its own YAML file, and operators can stop, restart, pause, or resume it through immortal without logging into the host to hand-run process commands.

### 采用历史

immortal's adoption footprint is modest compared with large init systems, but it is packaged for Homebrew and distributed by the project as Linux deb and rpm artifacts. That puts it in the category of small supervisor tools chosen when systemd, supervisord, or runit is more machinery than a package author wants.

### 使用方式

The tool is used to run a command detached from a controlling terminal, restart it after termination, keep logs, and expose status and control through a Unix socket. The companion immortalctl command provides the operator-facing control surface.

### 为什么软件包爱好者会关心

For package maintainers, immortal is notable because it is a compact, Go-built supervisor with a YAML file convention and no hard dependency on one init system. It is the sort of utility that fits Homebrew and BSD-style environments where a service wrapper should be inspectable and portable.

### 时间线

- 2016: Public GitHub repository created.
- 2017: Early 0.13.x and 0.15.x releases published through GitHub releases.
- 2024: v0.24.6 published through the GitHub releases feed.

### Related projects

- supervisord, systemd, runit, daemontools, and s6 occupy the neighboring process-supervision space.
- immortalctl and immortaldir are shipped with immortal as the control and directory-management companions.

### 来源

- <https://api.github.com/repos/immortal/immortal/releases>
- <https://formulae.brew.sh/formula/immortal>
- <https://github.com/immortal/immortal>
- <https://immortal.run/>
- <https://immortal.run/post/run.yml/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: /usr/local/etc/immortal/*.yml

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
