← All Go categories

Command Line Go Libraries Ranking

Libraries for building standard or basic Command Line applications.

105 repositories, updated daily.

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

45.8K
1.9K
Yesterday
+75 weekly
View

- Commander for modern Go CLI interactions.

44.8K
3.8K
Yesterday
+8 weekly
View

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

24.3K
2.0K
Yesterday
+6 weekly
View

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

21.3K
496
Yesterday
+27 weekly
View

- Terminal JSON viewer & processor.

20.7K
504
Yesterday
+7 weekly
View

.

15.8K
832
Yesterday
+0 weekly
View

.

13.6K
818
Yesterday
+1 weekly
View

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

12.0K
543
Yesterday
+14 weekly
View

.

10.6K
847
Yesterday
+15 weekly
View

- Minimalist Go library aimed at creating Console User Interfaces.

10.6K
644
Yesterday
+2 weekly
View

- TUI components for bubbletea.

9.1K
489
Yesterday
+22 weekly
View

- Lightweight library for building interactive forms and prompts in the terminal.

7.3K
282
Yesterday
+15 weekly
View

- An expressive programming language and a versatile interactive shell.

6.4K
333
Yesterday
+4 weekly
View

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

5.6K
229
Yesterday
+4 weekly
View

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

4.8K
371
Yesterday
+1 weekly
View

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

4.7K
266
Yesterday
-1 weekly
View

- Stylesheet-based markdown rendering for terminal applications.

3.8K
453
Yesterday
+7 weekly
View

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

3.6K
282
Yesterday
-1 weekly
View

- Command-line parser with support for arbitrarily complex command-line structures (successor to `kingpin`).

3.2K
207
Yesterday
+6 weekly
View

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

3.1K
125
Yesterday
-1 weekly
View

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

3.1K
123
Yesterday
+1 weekly
View

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

2.8K
508
2 days ago
+1 weekly
View

- go command line option parser.

2.7K
330
1 week ago
-1 weekly
View

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

2.5K
134
Yesterday
-1 weekly
View

- Multi progress bar for terminal applications.

2.5K
132
Yesterday
+0 weekly
View

- Struct-based argument parsing in Go.

2.3K
123
Yesterday
+0 weekly
View

- Flexible library to render progress bars in terminal applications.

2.1K
123
1 week ago
+0 weekly
View

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

2.0K
107
Yesterday
+3 weekly
View

- Multi-shell multi-command argument completer.

2.0K
156
Yesterday
+5 weekly
View

- Library for updating terminal output in real time.

1.7K
90
1 week ago
+0 weekly
View

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

1.6K
96
Yesterday
-2 weekly
View

- Unikernel Builder/Orchestrator.

1.5K
151
Yesterday
+0 weekly
View

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

1.5K
54
Yesterday
+0 weekly
View

- Command argument completion generator for spf13/cobra.

1.5K
40
Yesterday
+4 weekly
View

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

1.1K
137
2 weeks ago
+0 weekly
View

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

958
72
Yesterday
-1 weekly
View

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

955
32
Yesterday
-1 weekly
View

- isatty for golang.

924
120
Yesterday
-4 weekly
View

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

882
59
Yesterday
+0 weekly
View

- Colorable writer for windows.

818
98
Yesterday
-1 weekly
View

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

739
32
6 days ago
+1 weekly
View

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

723
42
Yesterday
+0 weekly
View

- Render highly customizable boxes in the terminal.

668
25
Yesterday
+1 weekly
View

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

638
63
Yesterday
-2 weekly
View

- Style terminal text.

598
104
1 week ago
+0 weekly
View

- An interactive table component for bubbletea.

578
36
Yesterday
-1 weekly
View

- Simple tables in a terminal with Go.

554
32
Yesterday
+0 weekly
View

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

456
10
Yesterday
-1 weekly
View

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

451
17
6 days ago
+3 weekly
View

- A tiny library for super simple Golang tables.

372
18
Yesterday
+0 weekly
View

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

229
21
1 month ago
+0 weekly
View

- Go library for color output in terminals.

218
21
2 weeks ago
+0 weekly
View

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

216
16
2 weeks ago
+0 weekly
View

- Cross-platform CLI that generates Git commit messages automatically from code changes.

213
13
3 weeks ago
+0 weekly
View

- A Simple and Clear CLI library. Dependency free.

202
17
3 weeks 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
8 months ago
+0 weekly
View

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

168
36
1 month ago
+0 weekly
View

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

157
3
3 days ago
+2 weekly
View

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

153
30
Yesterday
+1 weekly
View

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

151
12
1 month ago
+0 weekly
View

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

144
11
1 week ago
+0 weekly
View

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

132
9
7 months ago
+0 weekly
View

- Signal-based reactive components framework for building TUIs.

125
3
3 weeks ago
+0 weekly
View

- Tag-based environment configuration for structs.

125
14
5 months ago
+0 weekly
View

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

117
10
1 month ago
+0 weekly
View

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

113
5
1 week ago
+0 weekly
View

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

71
3
7 months ago
+0 weekly
View

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

70
1
6 days ago
+1 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
3 months ago
+0 weekly
View

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

59
10
3 months ago
+0 weekly
View

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

55
13
4 weeks ago
+0 weekly
View

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

55
2
1 month ago
+0 weekly
View

- Small library for terminal color based tables.

50
3
2 weeks ago
+0 weekly
View

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

48
1
1 week ago
+0 weekly
View

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

48
1
2 months ago
+0 weekly
View

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

48
4
9 months ago
+0 weekly
View

- A minimal but very powerful cli library for Go.

47
3
1 week ago
+0 weekly
View

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

47
3
9 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.

46
5
1 week ago
+0 weekly
View

- Go library for implementing command-line interfaces.

43
10
1 month ago
+0 weekly
View

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

43
7
7 months ago
+0 weekly
View

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

38
4
1 week ago
+1 weekly
View

- Define simple completions using a spec file.

36
7
1 week ago
+0 weekly
View

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

34
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.

31
3
3 months ago
+0 weekly
View

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

20
3
1 year 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.

18
1
3 months 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.

15
1
2 weeks ago
+0 weekly
View

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

15
0
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
1
2 months ago
+0 weekly
View

- A Go-native, single-binary multicall with 77 POSIX tools and >97% BusyBox test compatibility.

11
1
2 days ago
+1 weekly
View

- Keyboard-driven terminal user interface for Microsoft Teams.

9
0
2 days ago
+1 weekly
View

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

9
0
2 months ago
+0 weekly
View

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

8
0
2 months 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
4 months ago
+0 weekly
View

- gozen is a simplified golang MVC framework to generate projects and components with Support of REST, gRPC etc. Higly customizable and easy to add any api layer or worker.

4
2
1 month ago
+0 weekly
View

- CLI tool for scaffolding Go applications with Minimalist, Standard, and Hexagonal architecture patterns.

4
0
2 months ago
+0 weekly
View

- eyez is a handy CLI tool that lets you view images directly in your terminal, with support for most terminal emulators.

2
0
1 month ago
+0 weekly
View

- Cross-platform terminal file/folder picker with fuzzy search, multi-select, and a preview pane.

0
0
1 month ago
+0 weekly
View

- Terminal-based peer-to-peer file and message transfer tool over custom reliable UDP.

0
0
2 months ago
+0 weekly
View