CATEGORY
Command-line interface 3,344 crates
Data as of 2026-07-25 (crates.io database dump, timestamp 2026-07-25T02:00:36Z). Source: crates.io · db-dump.tar.gz · methodology & corrections.
clapA simple to use, efficient, and full-featured Command Line Argument Parser991,072,818MIT OR Apache-2.0
clap_lexMinimal, flexible command line parser751,937,596MIT OR Apache-2.0
unicode-widthDetermine displayed width of `char` and `str` types
according to Unicode Standard Annex #11 rules.699,255,228MIT OR Apache-2.0
shlexSplit a string into shell words, like Python's shlex.671,184,808MIT OR Apache-2.0
clap_deriveParse command line argument by defining a struct, derive crate.646,909,159MIT OR Apache-2.0
clap_builderA simple to use, efficient, and full-featured Command Line Argument Parser627,869,670MIT OR Apache-2.0
anstyleANSI text styling617,099,693MIT OR Apache-2.0
anstreamIO stream adapters for writing colored text that will gracefully degrade according to your terminal's capabilities.571,501,491MIT OR Apache-2.0
anstyle-parseParse ANSI Style Escapes558,536,565MIT OR Apache-2.0
anstyle-queryLook up colored console capabilities547,262,046MIT OR Apache-2.0
colorchoiceGlobal override of color control545,134,831MIT OR Apache-2.0
textwrapLibrary for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine…392,387,468MIT
is-terminalTest whether a given stream is a terminal302,325,812MIT
anstyle-winconStyling legacy Windows terminals272,838,175MIT OR Apache-2.0
yansiA dead simple ANSI terminal color painting library.224,388,064MIT OR Apache-2.0
indicatifA progress bar and cli reporting library for Rust187,872,955MIT
os_str_bytesLossless functionality for platform-native strings185,806,829MIT OR Apache-2.0
anesANSI Escape Sequences provider & parser178,880,800MIT OR Apache-2.0
termtreeVisualize tree-like data on the command-line169,913,654MIT
crosstermA crossplatform terminal library for manipulating terminals.163,594,070MIT
termA terminal formatting library147,423,919MIT OR Apache-2.0
owo-colorsZero-allocation terminal colors that'll make people go owo142,792,110MIT
getoptsgetopts-like option parsing134,373,080MIT OR Apache-2.0
codespan-reportingBeautiful diagnostic reporting for text-based programming languages123,943,364Apache-2.0
fs-errA drop-in replacement for std::fs with more helpful error messages.113,585,872MIT OR Apache-2.0
clap_completeGenerate shell completion scripts for your clap::Command96,055,436MIT OR Apache-2.0
structoptParse command line argument by defining a struct.85,483,334Apache-2.0 OR MIT
structopt-deriveParse command line argument by defining a struct, derive crate.84,933,954Apache-2.0/MIT
dialoguerA command line prompting library.71,891,663MIT
wasiteWASI Terminal Environment API67,951,268Apache-2.0 OR BSL-1.0 OR MIT
supports-colorDetects whether a terminal supports color, and gives details about that support.55,081,378Apache-2.0
rustylineRustyline, a readline implementation based on Antirez's Linenoise42,722,541MIT
ratatuiA library that's all about cooking up terminal user interfaces39,744,336MIT
supports-unicodeDetects whether a terminal supports unicode.33,630,138Apache-2.0
graphql-parserA parser, AST and serializer for graphql query language and scheme
definition language (sometimes called IDL).33,148,246MIT/Apache-2.0
normpathMore reliable path manipulation26,699,227MIT OR Apache-2.0
terminfoTerminal information.25,896,910WTFPL
prettytable-rsA library for printing pretty formatted tables in terminal21,236,867BSD-3-Clause
docoptCommand line argument parsing.18,506,949Unlicense/MIT
inquireinquire is a library for building interactive prompts on terminals17,765,814MIT
term_sizefunctions for determining terminal sizes and dimensions16,035,937MIT/Apache-2.0
clap-numNumber parsers for clap15,486,006MIT
arghDerive-based argument parsing optimized for code size14,468,070BSD-3-Clause
wildGlob (wildcard) expanded command-line arguments on Windows13,919,868Apache-2.0 OR MIT
clap_mangenA manpage generator for clap12,942,469MIT OR Apache-2.0
kasuariA rust layout solver for GUIs, based on the Cassowary algorithm.
A fork of the unmaintained cassowary-rs crate with improvments…12,395,201MIT OR Apache-2.0
ratatui-coreCore types and traits for the Ratatui Terminal UI library.
Widget libraries should use this crate. Applications should use…12,368,197MIT
clap_complete_nushellA generator library used with clap for Nushell completion scripts12,121,639MIT OR Apache-2.0
abscissa_coreApplication microframework with support for command-line option parsing,
configuration, error handling, logging, and terminal…11,865,813Apache-2.0
human-panicPanic messages for humans11,726,221MIT OR Apache-2.0
ratatui-widgetsA collection of Ratatui widgets for building terminal user interfaces using Ratatui.11,343,513MIT
ratatui-crosstermCrossterm backend for the Ratatui Terminal UI library.11,261,920MIT
lexoptMinimalist pedantic command line parser11,037,654MIT
concolor-queryLook up colored console capabilities11,013,524MIT OR Apache-2.0
ratatui-macrosMacros for Ratatui9,958,744MIT
rustyline-deriveRustyline macros implementation of #[derive(Completer, Helper, Hinter, Highlighter)]9,633,050MIT
vt100Library for parsing terminal data8,736,251MIT
exitcodePreferred system exit codes as defined by sysexits.h8,551,821Apache-2.0
ratatui-termwizTermwiz backend for the Ratatui Terminal UI library.8,477,629MIT
clap_complete_commandReduces boilerplate for adding a shell completion command to Clap8,097,422MIT
shellwordsManipulate strings according to the word parsing rules of the UNIX Bourne shell.7,643,340MIT
argfileLoad additional CLI args from file7,585,254MIT OR Apache-2.0
enable-ansi-supportEnable ANSI escape code support on Windows 106,932,343MIT
bpafA simple Command Line Argument Parser with parser combinators6,818,538MIT OR Apache-2.0
spinners🛎 60+ Elegant terminal spinners for Rust6,779,273MIT
ansi_colourstrue-colour ↔ ANSI terminal palette converter6,713,014LGPL-3.0-or-later
cli-tableA crate for printing tables on command line6,304,349MIT/Apache-2.0
lscolorsColorize paths using the LS_COLORS environment variable6,239,848MIT/Apache-2.0
termimadMarkdown Renderer for the Terminal6,203,708MIT
indicatif-log-bridgeBridge the log crate and indicatif to stop log lines from mixing up with progress bars6,154,995MIT
bpaf_deriveDerive macros for bpaf Command Line Argument Parser5,653,696MIT OR Apache-2.0
concolorControl console coloring across all dependencies5,627,288MIT OR Apache-2.0
concolor-overrideGlobal override of color control5,456,021MIT OR Apache-2.0
ansi-strA library which provides a set of methods to work with ANSI strings5,441,230MIT
parse_durationParses a duration from a string.5,275,283MIT
anstyle-lossyLossy conversion between ANSI Color Codes4,792,659MIT OR Apache-2.0
clap_complete_figA generator library used with clap for Fig completion scripts4,643,031MIT OR Apache-2.0
termizefunctions for determining terminal sizes and dimensions4,535,384MIT OR Apache-2.0
crokeyParse and describe keys - helping incorporate keybindings in terminal applications4,283,694MIT
tracing-indicatifTracing layer that automatically creates and manages progress bars for active spans.4,280,158MIT
clircleDetect IO circles in your CLI apps arguments.4,250,691MIT OR Apache-2.0
pty-processspawn commands attached to a pty4,096,058MIT
anstyle-svgConvert ANSI escape codes to SVG3,866,524MIT OR Apache-2.0
ptreePretty-print tree-like structures3,744,540MIT OR Apache-2.0
run_scriptRun shell scripts in rust.3,704,624Apache-2.0
commaShell-style command parser with support for escaping and quotations.3,657,527MIT
cmd_libCommon rust commandline macros and utils, to write shell script like tasks easily3,626,559MIT OR Apache-2.0
xflagsModerately simple command line arguments parser.3,437,840MIT OR Apache-2.0
clap-markdownAutogenerate Markdown documentation for clap command-line tools3,210,644MIT OR Apache-2.0
terminal-colorsaurusA cross-platform library for determining the terminal's background and foreground color. It answers the question «Is this…3,154,279MIT OR Apache-2.0
terminal-trxProvides a handle to the terminal of the current process3,106,601MIT OR Apache-2.0
xterm-colorParses the subset of X11 Color Strings emitted by terminals in response to OSC color queries2,963,880MIT OR Apache-2.0
colored_jsonColorize JSON, for printing it out on the command line2,861,612EPL-2.0
concolor-clapClap mixin to control console colors2,814,356MIT OR Apache-2.0
uutils_term_gridLibrary for formatting strings into a grid layout. Fork of term_grid.2,801,650MIT
promptlySimple, opinionated CLI prompting helper2,767,461MIT
concolor-controlControl console coloring across all dependencies2,758,125MIT OR Apache-2.0
cliclackBeautiful, minimal, opinionated CLI prompts inspired by the Clack NPM package.2,750,011MIT
argparsePowerful command-line argument parsing library2,694,758MIT
prettytableA library for printing pretty formatted tables in terminal2,377,044BSD-3-Clause
fwdansiForwards a byte string with ANSI escape code to a termcolor terminal2,326,970MIT
paw-attributesProc Macro attributes for the Paw crate.2,302,580MIT OR Apache-2.0
pawCLI argument parser.2,297,512MIT OR Apache-2.0
paw-rawTraits to implement custom Paw implementations2,292,819MIT OR Apache-2.0
bugreportCollect system and environment information for bug reports2,250,716MIT/Apache-2.0
cli-table-deriveA crate for printing tables on command line2,181,157MIT/Apache-2.0
codemap-diagnostic[DEPRECATED] Library for displaying compiler error messages, extracted from rustc.1,921,353MIT/Apache-2.0
ansi-to-htmlANSI escape codes to HTML converter1,764,754MIT
termplotAn extensible plotting library for CLI applications.1,752,684MIT
terminal-promptTiny library for prompting sensitive or non-sensitive data on the terminal1,682,793BSD-2-Clause
cliparserSimple command line parser.1,665,865Apache-2.0
cursiveA TUI (Text User Interface) library focused on ease-of-use.1,606,067MIT
winsplitLibrary to split string into command line arguments mirroring CommandLineToArgV with VC++ 2008 parsing rules1,570,494MIT OR Apache-2.0
calm_ioCalms a panicky I/O stream.1,513,933MIT
calmio_filtersCalms a panicky I/O stream.1,512,768MIT
sysexitsThe system exit codes as defined by <sysexits.h>1,425,171Apache-2.0 OR MIT
minusAn asynchronous data feedable terminal paging library for Rust1,365,749MIT OR Apache-2.0
cursive_coreCore components for the Cursive TUI1,313,264MIT
proconioEasy IO library for competitive programming1,311,454MIT OR Apache-2.0
editOpen a file in the default text editor1,282,844CC0-1.0
term-tableTables for CLI apps1,243,234MIT
anstyle-owo-colorsAdapt between owo-colors and anstyle1,199,145MIT OR Apache-2.0
ratatui-terminaTermina backend for the Ratatui Terminal UI library.1,182,051MIT
argvCommand line arguments by reference: `Iterator<Item = &'static OsStr>`1,138,107MIT OR Apache-2.0
format_serde_errorSerde error messages for humans.1,106,713MIT
colorchoice-clapClap mixin to override console colors1,100,111MIT OR Apache-2.0
box_drawingA very simple library containing constants for UTF-8 box drawing.1,084,970MIT
anstyle-syntectAdapt between syntect and anstyle1,077,771MIT OR Apache-2.0
viuerDisplay images in the terminal1,074,206MIT
tui-termA pseudoterminal widget for ratatui1,071,739MIT
textplotsTerminal plotting library.1,067,665MIT
tui-scrollbarA Ratatui scrollbar widget with fractional thumb rendering1,062,461MIT OR Apache-2.0
ptyprocessA library to work with PTY/TTY on Unix systems963,959MIT
argmaxRust library to deal with 'argument too long' errors915,453MIT/Apache-2.0
ansi-escapesAnsi escape codes for manipulating the terminal906,742MIT
tui-tree-widgetTree Widget for ratatui881,261MIT
parisA simple logger for your CLI apps or other things you want in the terminal868,110MPL-2.0
parse_argTraits and implementations for parsing command-line arguments.851,751MITNFA
ascii_tablePrint ASCII tables to the terminal838,529MIT OR Apache-2.0
clap-stdinProvides types for easily accepting Clap arguments from stdin and writing to stdout817,602MIT OR Apache-2.0
proc-exitExit codes for process termination787,613MIT OR Apache-2.0
pagerHelps pipe your output through an external pager772,562Apache-2.0/MIT
terminal-lighttells you whether your terminal is dark or light758,866MIT
go-flagCommand line parser library, made to be compatible with Go's flag727,037MIT OR Apache-2.0
xterm-queryquery your terminal718,667MIT
status-lineThis crate allows you to display status & progress information in a terminal710,381MIT
exitfailureA basic newtype wrappers for use with ? in main709,418MIT OR Apache-2.0
colorzA terminal text-coloring library702,614MIT OR Apache-2.0
kdamA console progress bar library for Rust. (inspired by tqdm & rich.progress)670,755MIT OR Apache-2.0
spinoffSimple to use Rust library for displaying spinners in the terminal666,858MIT
mortalCross-platform terminal interface621,760MIT/Apache-2.0
textdistanceLots of algorithms to compare how similar two sequences are603,696MIT
linefeedInteractive terminal input reader602,819MIT/Apache-2.0
clap_generateRenamed to clap_complete597,061MIT OR Apache-2.0
termbgTerminal background color detection596,886MIT OR Apache-2.0
cologThe `colog` library is a simple formatter backend for the standard rust logging system (in the `log` crate).591,885LGPL-3.0
async-stdinAsynchronously read from stdin566,362MIT
ratatui-termionTermion backend for the Ratatui Terminal UI library.547,033MIT
deviconsA Rust library that provides filetype glyphs (icons) for a wide range of common file formats.507,111Apache-2.0
r3bl_ansi_colorDEPRECATED: Use r3bl_tui instead. Rust crate to generate formatted ANSI 256 (8-bit) and truecolor (24-bit) color output to stdout491,939Apache-2.0
tiny-gradientMake your string colored in gradient477,776MIT
superconsoleA simple but powerful Text-based User Interface (TUI) framework471,487MIT OR Apache-2.0
configure_me_codegenA library for easy processing of application configuration from files, environment variables and command line arguments.447,924MITNFA
tui-big-textA Ratatui widget for displaying big text in the terminal447,528MIT OR Apache-2.0
r3bl_tuifyDEPRECATED: Use r3bl_tui instead. Lightweight TUI capabilities for CLI apps441,047Apache-2.0
table_formatterA simple text table formatter written in Rust438,826MIT OR Apache-2.0
quicliQuickly build cool CLI apps in Rust.424,271MIT OR Apache-2.0
r3bl_simple_loggerDEPRECATED: Use r3bl_tui instead. Replacement for the simplelog crate.416,996Apache-2.0
configure_meA library for processing application configuration easily.409,450MITNFA
ansi_rgbColorful terminal text using ANSI escape sequences407,264MIT
tui-scrollviewA simple scrollable view for Ratatui406,039MIT OR Apache-2.0
gflags-deriveDerive gflags invocations from struct fields400,578MIT OR Apache-2.0
clap-helputility printing help of a clap application396,963MIT
questionAsk a question, what more could you want?394,809MIT
requesttyAn easy-to-use collection of interactive cli prompts389,974MIT
requestty-uiA widget based terminal ui rendering library.389,411MIT
clap-serde-deriveMerge results from clap and serde into struct with derive382,715AGPL-3.0-or-later
tui-markdownA simple library for converting markdown to a Ratatui Text value378,189MIT OR Apache-2.0
r3bl_tuiTUI library to build modern apps inspired by React, Elm, with Flexbox, CSS, editor component, emoji support, and more377,516Apache-2.0
easy-replAn easy to use REPL, ideal when there is a need to crate an ad-hoc shell352,770MIT OR Apache-2.0
pinentryAPI for interacting with pinentry binaries350,349MIT OR Apache-2.0
cursive-macrosProc-macros for the cursive TUI library.345,203MIT
terminiMinimal terminfo libary.329,437MIT
color-nameA crate with color names and its values and usefull functions inluded to get similar colour name by RGB data;
Based on css-color…324,013MIT OR Apache-2.0
read_inputAsk for user input until the data inputted is valid317,477MIT/Apache-2.0
colourMacros for creating coloured console output.307,186MIT OR Apache-2.0
tookEasily measure & report elapsed time306,907MIT
getargsA truly zero-cost argument parser301,169MIT
term-painterColoring and formatting terminal output296,901MIT/Apache-2.0
seahorseA minimal CLI framework written in Rust293,642non-standard
anstyle-progressANSI escape code progress reporting (OSC 9;4)289,844MIT OR Apache-2.0
anstyle-hyperlinkANSI escape code hyperlinks (OSC 8)289,792MIT OR Apache-2.0
log_limitA rate limiting logging crate288,122MIT OR Apache-2.0
main_errorPrint errors with Display instead of Debug when using ? in main().281,859MIT
completestRun completions for your program280,959MIT OR Apache-2.0
tachyonfxA ratatui library for creating shader-like effects in TUIs.252,890MIT
rustopA simple command line parser.249,983MIT
number_rangeLibrary to parse list of numbers from/to human readable string249,859GPL-3.0-only
cld...247,287LGPL-3.0-or-later
completest-ptyRun completions for your program206,258MIT OR Apache-2.0