# 使用 Homebrew, apt, MacPorts, Nix, dnf 安装 rex

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

## 安装

```sh
sudo av install brew:rex
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rex
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rex
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install rex
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#rex
```

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

- dnf (92%):

```sh
sudo dnf install Rex
```

  证据: Fedora Rawhide package metadata: Rex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:rex
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rex>
- **版本:** 1.16.1
- **来源摘要:** Command-line tool which executes commands on remote servers
- **主页:** <https://www.rexify.org>
- **上游文档:** <https://www.rexify.org>
- **许可证:** Apache-2.0
- **源码归档:** <https://cpan.metacpan.org/authors/id/F/FE/FERKI/Rex-1.16.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- rex (cli)
- rexify (cli)
- rex (别名)
- rexify (别名)

## macOS 提供的库

- expat
- perl

## 安装行为

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

## 版本和新鲜度

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

## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool 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: Rexfile
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** rex
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - rex - 1.16.0-1: normalized package name match | Debian stable package indexes: rex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | deployment and configuration management tool | https://www.rexify.org/
- Nix - rex: normalized package name match | nixpkgs package indexes: pkgs/by-name/re/rex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - rex - 1.14.3-1: normalized package name match | Ubuntu 24.04 LTS package indexes: rex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | deployment and configuration management tool | https://www.rexify.org/
- dnf - Rex - 1.16.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: Rex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The friendly automation framework on basis of Perl | https://www.rexify.org/
- MacPorts - rex: normalized package name match | MacPorts ports tree: sysutils/rex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Productivity CLI packages](https://pkg.so/zh-hans/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [cliclick](https://pkg.so/zh-hans/brew/cliclick/) - Shares pkgdb curated category or tags: automation, cli, system.
- [confd](https://pkg.so/zh-hans/brew/confd/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [comtrya](https://pkg.so/zh-hans/brew/comtrya/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [bork](https://pkg.so/zh-hans/brew/bork/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [augeas](https://pkg.so/zh-hans/brew/augeas/) - Shares pkgdb curated category or tags: cli, configuration-management, system.
- [sleepwatcher](https://pkg.so/zh-hans/brew/sleepwatcher/) - Shares pkgdb curated category or tags: automation, cli, system.
- [orgalorg](https://pkg.so/zh-hans/brew/orgalorg/) - Shares pkgdb curated category or tags: cli, remote-execution, ssh, system.
- [dsh](https://pkg.so/zh-hans/brew/dsh/) - Shares pkgdb curated category or tags: cli, remote-execution, ssh, system.
- [kanif](https://pkg.so/zh-hans/brew/kanif/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, execution, management, remote, remote-execution.

## Combined YAML source

View the package source record on GitHub. [combined/rex.yml](https://github.com/mxcl/pkgdb/blob/main/combined/rex.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
