macOS
brew install ncurseslocal Homebrew formula metadata
sudo port install ncursesMacPorts ports tree · devel/ncurses/Portfile · 来源: api.github.com
安装
brew install ncurseslocal Homebrew formula metadata
sudo port install ncursesMacPorts ports tree · devel/ncurses/Portfile · 来源: api.github.com
sudo apk add ncursesAlpine Linux edge package indexes · ncurses · 来源: dl-cdn.alpinelinux.org
sudo dnf install ncursesFedora Rawhide package metadata · ncurses · 来源: dl.fedoraproject.org
nix profile install nixpkgs#ncursesnixpkgs package indexes · ncurses · 来源: raw.githubusercontent.com
sudo pacman -S ncursesArch Linux sync databases · ncurses · 来源: geo.mirror.pkgbuild.com
sudo apt install lib32ncurses-devDebian stable package indexes · lib32ncurses-dev · 来源: deb.debian.org
sudo zypper install libncurses5openSUSE Tumbleweed package metadata · libncurses5 · 来源: download.opensuse.org
概览
Text-based UI library
历史
ncurses, short for new curses, is the dominant free curses implementation for building text user interfaces on character-cell terminals. It emulates and extends System V Release 4 curses, uses terminfo, and ships both libraries and utilities such as tic, infocmp, tput, clear, reset, tabs, toe, and tset.
The lineage runs through earlier curses and pcurses work. Thomas Dickey's ncurses licensing history discusses ncurses 0.7.2 from May 22, 1993 and ncurses 1.8.1 from November 5, 1993, with Pavel Curtis and Zeyd Ben-Halim copyright lineage. Dickey's history also identifies ncurses 1.9.9e on March 24, 1996 as the end of Zeyd Ben-Halim's maintainership and April 6, 1996 as Dickey's first patch against his ncurses archive.
The ncurses 6.4 announcement says that in mid-June 1995 the maintainer of 4.4BSD curses declared it obsolete and encouraged BSD-family systems to switch to ncurses. The same announcement describes ncurses as used in almost every Linux-kernel-based system aside from some embedded applications, as the system curses library on OpenBSD, FreeBSD, and macOS, and in environments such as Cygwin and MinGW.
Package users depend on ncurses both directly and indirectly. Developers link libncurses, libpanel, libmenu, and libform for full-screen terminal apps; shell scripts use tput and reset; terminfo maintainers use tic and infocmp; and many interactive CLI tools pull it in through readline-like or TUI dependencies.
ncurses is foundational packaging infrastructure. It is small enough to feel mundane, but it sits under installers, text editors, terminal multiplexers, system configuration tools, roguelikes, debuggers, and countless TUIs. ABI variants, wide-character builds, terminfo database paths, and compatibility with system curses make it a perennial packaging concern.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
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 | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://invisible-island.net/ncurses/announce.html
安装元数据
| 软件包键 | brew:ncurses |
|---|---|
| 版本 | 6.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ncurses |
| 主页 | https://invisible-island.net/ncurses/announce.html |
| 仓库 | https://github.com/ThomasDickey/ncurses-snapshots |
| 上游文档 | https://invisible-island.net/ncurses |
| 许可证 | X11-distribute-modifications-variant |
| 源码归档 | https://ftpmirror.gnu.org/gnu/ncurses/ncurses-6.6.tar.gz |
| 最后更新 | 2026-06-26T16:24:51-04:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ncurses |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lib32ncurses-dev 6.5+20250216-2
developer's libraries for ncurses (32-bit)
https://invisible-island.net/ncurses/
sudo apt install lib32ncurses-devlib32ncurses6 6.5+20250216-2
shared libraries for terminal handling (32-bit)
https://invisible-island.net/ncurses/
sudo apt install lib32ncurses6lib32ncursesw6 6.5+20250216-2
shared libraries for terminal handling (wide character support) (32-bit)
https://invisible-island.net/ncurses/
sudo apt install lib32ncursesw6lib32tinfo6 6.5+20250216-2
shared low-level terminfo library for terminal handling (32-bit)
https://invisible-island.net/ncurses/
sudo apt install lib32tinfo6libncurses-dev 6.5+20250216-2
developer's libraries for ncurses
https://invisible-island.net/ncurses/
sudo apt install libncurses-devlibncurses6 6.5+20250216-2
shared libraries for terminal handling
https://invisible-island.net/ncurses/
sudo apt install libncurses6libncursesw6 6.5+20250216-2
shared libraries for terminal handling (wide character support)
https://invisible-island.net/ncurses/
sudo apt install libncursesw6libtinfo6 6.5+20250216-2
shared low-level terminfo library for terminal handling
https://invisible-island.net/ncurses/
sudo apt install libtinfo6ncurses-base 6.5+20250216-2
basic terminal type definitions
https://invisible-island.net/ncurses/
sudo apt install ncurses-basencurses-bin 6.5+20250216-2
terminal-related programs and man pages
https://invisible-island.net/ncurses/
sudo apt install ncurses-binncurses-doc 6.5+20250216-2
developer's guide and documentation for ncurses
https://invisible-island.net/ncurses/
sudo apt install ncurses-docncurses-examples 6.5+20250216-2
test programs and examples for ncurses
https://invisible-island.net/ncurses/
sudo apt install ncurses-examplesncurses-term 6.5+20250216-2
additional terminal type definitions
https://invisible-island.net/ncurses/
sudo apt install ncurses-termncurses
nix profile install nixpkgs#ncurseslib32ncurses-dev 6.4+20240113-1ubuntu2
developer's libraries for ncurses (32-bit)
https://invisible-island.net/ncurses/
sudo apt install lib32ncurses-devlib32ncurses6 6.4+20240113-1ubuntu2
shared libraries for terminal handling (32-bit)
https://invisible-island.net/ncurses/
sudo apt install lib32ncurses6来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.