---
name: "ncursesw6-config"
section: "1"
platform: "linux"
package: "ncurses"
version: "6.6-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ncursesw6-config"
---

# ncursesw6-config(1)

configuration helper for ncurses libraries

## NAME

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

## SYNOPSIS

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

**ncursesw6-config --version**

**ncursesw6-config --help**

## DESCRIPTION

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

## OPTIONS

- **--prefix**

  reports the package prefix of *ncurses*.

- **--exec-prefix**

  reports the executable prefix of *ncurses*.

- **--cflags**

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

- **--libs**

  reports the libraries needed to link with *ncurses*.

- **--abi-version**

  reports the ABI version of *ncurses*.

- **--mouse-version**

  reports the mouse-interface version of *ncurses*.

- **--bindir**

  reports the directory containing *ncurses* programs.

- **--datadir**

  reports the directory containing *ncurses* data.

- **--includedir**

  reports the directory containing *ncurses* header files.

- **--libdir**

  reports the directory containing *ncurses* libraries.

- **--mandir**

  reports the directory containing *ncurses* man pages.

- **--terminfo**

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

- **--terminfo-dirs**

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

- **--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**

  issues a usage message and exits successfully.

- **--version**

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

## SEE ALSO

**curses**(3X)
