# 安装 ncurses

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

## 安装

```sh
sudo av install brew:ncurses
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ncurses
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ncurses
```

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

### Linux

- apk (92%):

```sh
sudo apk add ncurses
```

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

- dnf (92%):

```sh
sudo dnf install ncurses
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ncurses
```

  证据: nixpkgs package indexes: ncurses from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S ncurses
```

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

## 软件包事实

- **软件包键:** brew:ncurses
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ncurses>
- **版本:** 6.6
- **来源摘要:** Text-based UI library
- **主页:** <https://invisible-island.net/ncurses/announce.html>
- **上游文档:** <https://invisible-island.net/ncurses/announce.html>
- **许可证:** X11-distribute-modifications-variant
- **源码归档:** <https://ftpmirror.gnu.org/gnu/ncurses/ncurses-6.6.tar.gz>
- **更新:** 2026-03-20T18:55:27Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- captoinfo (cli)
- clear (cli)
- infocmp (cli)
- infotocap (cli)
- ncurses6-config (cli)
- ncursesw6-config (cli)
- reset (cli)
- tabs (cli)
- tic (cli)
- toe (cli)
- tput (cli)
- tset (cli)
- captoinfo (别名)
- clear (别名)
- infocmp (别名)
- infotocap (别名)
- ncurses6-config (别名)
- ncursesw6-config (别名)
- reset (别名)
- tabs (别名)
- tic (别名)
- toe (别名)
- tput (别名)
- tset (别名)

## 安装行为

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

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 6.6
- 管理器更新时间: 2026-03-20
- 本地数据: ok
- 上游仓库: https://invisible-island.net/ncurses/announce.html
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** green / low
- library-like package without higher-risk signals

## 相关链接

- [tmux](https://www.automicvault.com/pkg/brew/tmux/) - Popular package that depends on this formula.
- [bash](https://www.automicvault.com/pkg/brew/bash/) - Popular package that depends on this formula.
- [qemu](https://www.automicvault.com/pkg/brew/qemu/) - Popular package that depends on this formula.
- [vim](https://www.automicvault.com/pkg/brew/vim/) - Popular package that depends on this formula.
- [htop](https://www.automicvault.com/pkg/brew/htop/) - Popular package that depends on this formula.
- [zsh](https://www.automicvault.com/pkg/brew/zsh/) - Popular package that depends on this formula.
- [watch](https://www.automicvault.com/pkg/brew/watch/) - Popular package that depends on this formula.
- [ncdu](https://www.automicvault.com/pkg/brew/ncdu/) - Popular package that depends on this formula.

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
