C++ command-line libraries
C++ libraries for argument parsing and terminal apps, ranked by GitHub stars
Updated · GitHub stars (stars)
Why these 20
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
FTXUI
C++ Functional Terminal User Interface. [MIT]
10,907 stars 628 forkslast push 2026-11-15C++MIT
-
2
cxxopts
Lightweight C++ command line option parser. [MIT]
4,829 stars 675 forkslast push 2026-11-20C++MIT
-
3
CLI11
Header only single or multi-file C++11 library for simple and advanced CLI parsing. [BSD]
4,528 stars 495 forkslast push 2026-11-21C++NOASSERTION
-
4
linenoise
A small self-contained alternative to readline and libedit. [BSD-2-Clause]
4,372 stars 742 forkslast push 2026-05-02CBSD-2-Clause
-
5
imtui
Immediate Mode Text-based User Interface. [MIT]
3,638 stars 154 forkslast push 2025-10-10C++MIT
-
6
-
7
indicators
Activity indicators for Modern C++. [MIT]
3,423 stars 271 forkslast push 2025-05-09C++MIT
-
8
gflags
Commandline flags module for C++. [BSD]
3,029 stars 854 forkslast push 2026-07-25C++BSD-3-Clause
-
9
-
10
termbox
A C library for writing text-based user interfaces. [MIT]
2,004 stars 186 forkslast push 2020-08-25CMIT
-
11
args
A simple header-only C++ argument parser library. [MIT]
1,646 stars 188 forkslast push 2026-10-23C++MIT
-
12
Argh!
A minimalist, frustration-free, header-only argument handler. [BSD]
1,445 stars 98 forkslast push 2025-01-21C++BSD-3-Clause
-
13
cli
A cross-platform header only C++14 library for interactive command line interfaces (Cisco style). [Boost]
1,377 stars 156 forkslast push 2026-11-06C++BSL-1.0
-
14
clipp
Easy to use, powerful and expressive command line argument handling for C++11/14/17 contained in a single header file. [MIT]
1,326 stars 153 forkslast push 2024-05-30C++MIT
-
15
PDCurses
Public domain curses library with both source code and pre-compiled library available. [PublicDomain]
1,256 stars 199 forkslast push 2026-09-20C
-
16
FINAL CUT
Library for creating terminal applications with text-based widgets. [LGPL]
1,206 stars 62 forkslast push 2026-11-10C++LGPL-3.0
-
17
docopt.cpp
A library to generate option parser from docstring. [MIT/Boost]
1,090 stars 144 forkslast push 2025-10-03C++BSL-1.0
-
18
TermOx
C++17 Terminal User Interface(TUI) Library. [MIT]
881 stars 63 forkslast push 2026-10-21C++MIT
-
19
oof
Convenient, high-performance RGB color and position control for console output. [MIT]
859 stars 40 forkslast push 2024-09-21C++MIT
-
20
replxx
A readline and libedit replacement that supports UTF-8, syntax highlighting, hints, works on Unix and Windows. [BSD]
773 stars 135 forkslast push 2024-04-14C++NOASSERTION
References
- fffaraz/awesome-cpp: CLI, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 06:18 UTC.
- fffaraz/awesome-cpp (CLI), GitHub community list, 32 tools with a public repository.