ncursesw6-config(1) User commands ncursesw6-config(1)

# [NAME](#NAME)

**ncursesw6-config** - configuration helper for *ncurses* libraries

# [SYNOPSIS](#SYNOPSIS)

**ncursesw6-config** *option* ...

**ncursesw6-config --version**

**ncursesw6-config --help**

# [DESCRIPTION](#DESCRIPTION)

This program development aid simplifies the process of configuring applications against a particular set of *ncurses* libraries.

# [OPTIONS](#OPTIONS)

[**--prefix**](#prefix)

reports the package prefix of *ncurses*.

[**--exec-prefix**](#exec)

reports the executable prefix of *ncurses*.

[**--cflags**](#cflags)

reports the C compiler flags needed to compile with *ncurses*.

[**--libs**](#libs)

reports the libraries needed to link with *ncurses*.

[**--abi-version**](#abi)

reports the ABI version of *ncurses*.

[**--mouse-version**](#mouse)

reports the mouse-interface version of *ncurses*.

[**--bindir**](#bindir)

reports the directory containing *ncurses* programs.

[**--datadir**](#datadir)

reports the directory containing *ncurses* data.

[**--includedir**](#includedir)

reports the directory containing *ncurses* header files.

[**--libdir**](#libdir)

reports the directory containing *ncurses* libraries.

[**--mandir**](#mandir)

reports the directory containing *ncurses* man pages.

[**--terminfo**](#terminfo)

reports the *TERMINFO* *terminfo* database path, for example */usr/share/terminfo*.

[**--terminfo-dirs**](#terminfo~2)

reports the *TERMINFO\_DIRS* supplemental search path for the *terminfo* database, for example */etc/terminfo:/usr/share/terminfo:/lib/terminfo:/usr/lib/terminfo*.

[**--termpath**](#termpath)

reports the *TERMPATH* supplemental search path for the *termcap* database, if support for *termcap* is configured.

The following options cause all others to be ignored.

[**--help**](#help)

issues a usage message and exits successfully.

[**--version**](#version)

issues the release and patch date information of *ncurses* and exits successfully.

# [SEE ALSO](#SEE_ALSO)

[**curses**(3X)](/man/os/ncurses/curses.3X)

2024-05-11 ncurses 6.6

---

Document: ncursesw6-config(1) from ncurses 6.6.20261024-r0 (Chainguard OS)
Source: https://github.com/ThomasDickey/ncurses-snapshots
