# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 rlwrap

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

## 安装

```sh
sudo av install brew:rlwrap
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rlwrap
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install rlwrap
```

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

### Linux

- apk (92%):

```sh
sudo apk add rlwrap
```

  证据: Alpine Linux edge package indexes: rlwrap from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install rlwrap
```

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

- dnf (92%):

```sh
sudo dnf install rlwrap
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#rlwrap
```

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

- pacman (92%):

```sh
sudo pacman -S rlwrap
```

  证据: Arch Linux sync databases: rlwrap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install rlwrap
```

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

## 软件包事实

- **软件包键:** brew:rlwrap
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rlwrap>
- **版本:** 0.48
- **来源摘要:** Readline wrapper: adds readline support to tools that lack it
- **主页:** <https://github.com/hanslub42/rlwrap>
- **仓库:** <https://github.com/hanslub42/rlwrap>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/hanslub42/rlwrap/releases/download/v0.48/rlwrap-0.48.zip>
- **最后更新:** 2026-07-28T14:21:41+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- rlwrap (cli)
- rlwrap (别名)

## 依赖

- libptytty
- readline

## macOS 提供的库

- ncurses

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.48
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://github.com/hanslub42/rlwrap
- 信息: No cached GitHub release or tag data was available.

## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- Debian apt - rlwrap - 0.46.1-1+b1: normalized package name match | Debian stable package indexes: rlwrap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | readline feature command line wrapper | https://github.com/hanslub42/rlwrap
- Nix - rlwrap: normalized package name match | nixpkgs package indexes: pkgs/by-name/rl/rlwrap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - rlwrap - 0.46.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: rlwrap from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | readline feature command line wrapper | https://github.com/hanslub42/rlwrap
- apk - rlwrap - 0.48-r0: normalized package name match | Alpine Linux edge package indexes: rlwrap from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | readline wrapper | https://github.com/hanslub42/rlwrap
- apk - rlwrap-doc - 0.48-r0: normalized package name match | Alpine Linux edge package indexes: rlwrap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | readline wrapper (documentation) | https://github.com/hanslub42/rlwrap
- dnf - rlwrap - 0.47.1-3.fc45: normalized package name match | Fedora Rawhide package metadata: rlwrap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Wrapper for GNU readline | https://github.com/hanslub42/rlwrap
- pacman - rlwrap - 0.48-1: normalized package name match | Arch Linux sync databases: rlwrap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Adds readline-style editing and history to programs | https://github.com/hanslub42/rlwrap
- zypper - rlwrap - 0.48-1.5: normalized package name match | openSUSE Tumbleweed package metadata: rlwrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Readline Wrapper | https://github.com/hanslub42/rlwrap/
- MacPorts - rlwrap: normalized package name match | MacPorts ports tree: sysutils/rlwrap/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [clojure](https://pkg.so/zh-hans/brew/clojure/) - Popular package that depends on this formula.
- [maxima](https://pkg.so/zh-hans/brew/maxima/) - Popular package that depends on this formula.
- [translate-shell](https://pkg.so/zh-hans/brew/translate-shell/) - Popular package that depends on this formula.
- [abcl](https://pkg.so/zh-hans/brew/abcl/) - Popular package that depends on this formula.
- [oh-my-posh](https://pkg.so/zh-hans/brew/oh-my-posh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [moor](https://pkg.so/zh-hans/brew/moor/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [colordiff](https://pkg.so/zh-hans/brew/colordiff/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [sesh](https://pkg.so/zh-hans/brew/sesh/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [ansifilter](https://pkg.so/zh-hans/brew/ansifilter/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [et](https://pkg.so/zh-hans/brew/et/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [most](https://pkg.so/zh-hans/brew/most/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [tpack](https://pkg.so/zh-hans/brew/tpack/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [colormake](https://pkg.so/zh-hans/brew/colormake/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, terminal, wrapper.
- [faketty](https://pkg.so/zh-hans/brew/faketty/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, terminal, wrapper.
- [bitwise](https://pkg.so/zh-hans/brew/bitwise/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, readline, terminal.

## Combined YAML source

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


## 来源

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