← All Go categories

Command Line Go Libraries Ranking

Libraries for building standard or basic Command Line applications.

95 repositories, updated daily.

- Commander for modern Go CLI interactions.

44.4K
3.2K
Yesterday
+57 weekly
View

- Go framework to build terminal apps, based on The Elm Architecture.

44.2K
1.3K
Yesterday
+122 weekly
View

- Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).

24.2K
1.8K
Yesterday
+5 weekly
View

- Terminal JSON viewer & processor.

20.6K
484
2 days ago
+16 weekly
View

- Your CLI home video recorder - generate terminal GIFs from code for documentation and tutorials.

20.5K
458
Yesterday
+52 weekly
View

.

15.8K
836
Yesterday
+7 weekly
View

.

13.6K
819
Yesterday
+2 weekly
View

- Declaratively define styles for color, format and layout in the terminal.

11.7K
384
Yesterday
+26 weekly
View

- Minimalist Go library aimed at creating Console User Interfaces.

10.6K
644
Yesterday
-2 weekly
View

.

10.5K
803
Yesterday
+2 weekly
View

- TUI components for bubbletea.

8.8K
443
Yesterday
+29 weekly
View

- An expressive programming language and a versatile interactive shell.

6.3K
328
Yesterday
+7 weekly
View

- A library to beautify console output on every platform with many combinable components.

5.5K
221
Yesterday
+3 weekly
View

- Termbox is a library for creating cross-platform text-based interfaces.

4.8K
371
1 week ago
+0 weekly
View

- Basic thread-safe progress bar that works in every OS.

4.7K
255
Yesterday
+0 weekly
View

- Command line and flag parser supporting sub commands (superseded by `kong`; see below).

3.6K
279
Yesterday
+1 weekly
View

- Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.

3.1K
123
5 days ago
+2 weekly
View

- A simple command line notebook with multi-device sync.

3.0K
123
2 days ago
+1 weekly
View

- Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.

2.8K
377
4 days ago
+2 weekly
View

- go command line option parser.

2.7K
325
2 days ago
-1 weekly
View

- Go package to easily provide a terminal spinner with options.

2.5K
130
2 days ago
-1 weekly
View

- Multi progress bar for terminal applications.

2.5K
131
Yesterday
+1 weekly
View

- Struct-based argument parsing in Go.

2.3K
114
1 week ago
+0 weekly
View

- Flexible library to render progress bars in terminal applications.

2.1K
123
2 days ago
+1 weekly
View

- Advanced ANSI style & color support for your terminal applications.

2.0K
92
1 week ago
+0 weekly
View

- Multi-shell multi-command argument completer.

1.9K
133
Yesterday
+5 weekly
View

- Library for updating terminal output in real time.

1.7K
89
1 week ago
+1 weekly
View

- Terminal color rendering tool library, support 16 colors, 256 colors, RGB color rendering output, compatible with Windows.

1.6K
87
2 days ago
+0 weekly
View

- Unikernel Builder/Orchestrator.

1.5K
146
4 days ago
+2 weekly
View

- ANSI terminal colors that support fmt.Printf/Sprintf.

1.5K
53
1 week ago
+1 weekly
View

- Command argument completion generator for spf13/cobra.

1.4K
36
2 days ago
+11 weekly
View

- Go readline-like library for command-line interfaces.

1.1K
134
1 week ago
+0 weekly
View

- Write bash completions in Go + Go command bash completion.

958
71
3 weeks ago
+0 weekly
View

- A robust and idiomatic flags package with excellent subcommand support.

950
33
1 week ago
+0 weekly
View

- isatty for golang.

922
118
2 days ago
+1 weekly
View

- Go library for building CLI applications with sophisticated flag and argument parsing and validation.

884
58
2 weeks ago
+0 weekly
View

- Colorable writer for windows.

812
98
2 weeks ago
+0 weekly
View

- Library to improve readability in terminal apps using tabular data.

742
31
1 month ago
+0 weekly
View

- Feature-rich and easy to use command-line package based on golang struct tags.

723
42
1 month ago
+0 weekly
View

- Render highly customizable boxes in the terminal.

647
25
3 days ago
+1 weekly
View

- Command line argument parser inspired by Python's argparse module.

639
64
1 week ago
+0 weekly
View

- Style terminal text.

596
103
Yesterday
+0 weekly
View

- An interactive table component for bubbletea.

577
35
1 week ago
+0 weekly
View

- Simple tables in a terminal with Go.

552
32
1 month ago
+0 weekly
View

- Yet Another CLi Spinner package, for working with terminal spinners.

456
10
2 days ago
+0 weekly
View

- A declarative terminal UI framework with templ-like templates, flexbox layout, and a language server for editor support.

386
15
Yesterday
+5 weekly
View

- A tiny library for super simple Golang tables.

371
18
3 months ago
+0 weekly
View

- Easy to use menu structure for cli applications that prompt users to make choices.

230
22
1 month ago
+0 weekly
View

- Go library for color output in terminals.

217
20
3 weeks ago
+0 weekly
View

- Alternative CLI with "human face", in spirit of Go command.

215
16
1 month ago
+0 weekly
View

- A Simple and Clear CLI library. Dependency free.

201
17
1 week ago
+0 weekly
View

- cli application framework with auto configuration and dependency injection.

179
24
2 weeks ago
+0 weekly
View

- Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.

175
16
5 months ago
+0 weekly
View

- Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin, and other libraries.

169
37
Yesterday
+1 weekly
View

- JOB, make your short-term command as a long-term job.

151
12
2 days ago
+1 weekly
View

- Simple, useful, and opinionated CLI package in Go.

149
3
Yesterday
+1 weekly
View

- Shell library with modern and easy to use UI features.

146
21
4 days ago
+0 weekly
View

- A POSIX/GNU style, getopt-like command-line UI Go library.

141
10
Yesterday
+0 weekly
View

- Simple and complete API for building command line interfaces in Go.

132
9
4 months ago
+0 weekly
View

- Signal-based reactive components framework for building TUIs.

126
2
4 weeks ago
+0 weekly
View

- Tag-based environment configuration for structs.

125
14
2 months ago
+0 weekly
View

- Collects and displays CLI version information in multiple formats along with upgrade notice.

115
5
1 week ago
+0 weekly
View

Closed-loop application library for Cobra commands, with oh-my-posh prompts, and more.

115
10
2 weeks ago
+0 weekly
View

- A go library for configure and run command chains - such as pipelining in unix shells.

71
3
4 months ago
+0 weekly
View

- Go library for building command line applications.

67
5
1 year ago
+0 weekly
View

- Simple logging interface that supports cross-platform color and concurrency.

67
8
1 year ago
+0 weekly
View

- Library to create prompt chain.

63
5
1 week ago
+0 weekly
View

- Go option parser inspired by the flexibility of Perl’s GetOpt::Long.

59
10
1 week ago
+0 weekly
View

- TUI for browsing, comparing, and editing .env files.

58
0
5 days ago
+2 weekly
View

- The non-invasive cross-platform terminal color library does not need to modify the Print method.

55
3
4 weeks ago
+0 weekly
View

- Easiest way to match and mark strings for colorful terminal outputs.

54
13
1 month ago
+0 weekly
View

- Small library for terminal color based tables.

52
3
3 months ago
+0 weekly
View

- Declarative flags, env vars, validation, and config files from struct tags. Built on cobra.

48
0
3 days ago
-1 weekly
View

- A collection of flag argument types for Go's standard `flag` package.

48
4
6 months ago
+0 weekly
View

- A minimal but very powerful cli library for Go.

47
3
1 month ago
+0 weekly
View

- Extends the standard `flag` package to support sub commands and more in idiomatic way.

47
3
5 months ago
+0 weekly
View

- Go library to split command line string as arguments array using the bash syntax.

43
7
4 months ago
+0 weekly
View

- OpenAPI-style specification for CLIs; define your interface in a language-agnostic document to generate documentation and framework boilerplate code.

42
4
3 days ago
+0 weekly
View

- Go library for implementing command-line interfaces.

42
10
1 week ago
+0 weekly
View

- High-performance TUI framework with Elm-inspired architecture, perfect Unicode rendering, and zero-allocation event system.

39
1
6 days ago
+2 weekly
View

- A customizable line-editing library with Emacs keybindings, Unicode support, completion, and syntax highlighting. Used in NYAGOS shell.

36
4
1 month ago
+0 weekly
View

- Define simple completions using a spec file.

34
7
1 week ago
+0 weekly
View

- CLI framework with security hardening, plugin storage system, and production observability features.

33
0
1 month ago
+0 weekly
View

- goscaf generates opinionated, production-quality Go project boilerplate via an interactive CLI. Stop copy-pasting skeleton code between projects.

29
3
1 month ago
+0 weekly
View

- Go library for rendering ANSI colored text templates in terminals.

20
3
11 months ago
+0 weekly
View

- Go library that provides elegant and convenient style definitions using ANSI colors. Fully compatible & wraps the [fmt library](https://pkg.go.dev/fmt) for nice terminal layouts.

20
2
1 year ago
+0 weekly
View

- Eliminate Cobra boilerplate: build powerful, feature-rich CLIs declaratively from Go structs.

17
1
1 month ago
+0 weekly
View

- Ultra-fast, zero-dependency, POSIX-compliant flag parsing library that can be used as drop-in stdlib replacement with security hardening.

12
0
1 month ago
+0 weekly
View

- Virtual bash shell in Go: executes shell commands against an in-memory filesystem (afero), with WASM plugin support and an embeddable HTTP server.

11
1
1 week ago
+0 weekly
View

- Another approach to parsing and running subcommands. Works alongside the standard `flag` package.

11
0
1 month ago
+0 weekly
View

- An accurate Go `getopt`, validated against the GNU libc implementation.

10
0
1 month ago
+0 weekly
View

- A local-first, Obsidian-compatible terminal knowledge manager.

8
0
1 month ago
+0 weekly
View

- Dynamic configuration file templating tool for kubernetes manifest or general configuration files.

8
0
1 year ago
+0 weekly
View

- A declarative, struct-tag based CLI framework for Go, with a broad feature set such as hierarchical commands/flags, i18n, shell completion, and validation.

5
1
1 month ago
+0 weekly
View

- Generate a harmonious 16-color terminal palette from a single seed color or string.

4
0
2 weeks ago
+0 weekly
View