Go command line libraries
Libraries for building command line tools in Go, ranked by GitHub stars
آخر تحديث · GitHub stars (stars)
لماذا هؤلاء العشرون
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
bubbletea
Go framework to build terminal apps, based on The Elm Architecture.
45,887 stars 1,888 forkslast push 2026-11-26GoMIT
موجود أيضًا في: #1 Go (Golang) libraries for command-line apps#1 Go (Golang) terminal UI libraries
-
2
cobra
Commander for modern Go CLI interactions.
44,848 stars 3,733 forkslast push 2026-07-11GoApache-2.0
موجود أيضًا في: #2 Go (Golang) libraries for command-line apps
-
3
urfave/cli
Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).
24,330 stars 1,969 forkslast push 2026-11-16GoMIT
موجود أيضًا في: #3 Go (Golang) libraries for command-line apps
-
4
vhs
Your CLI home video recorder - generate terminal GIFs from code for documentation and tutorials.
21,419 stars 497 forkslast push 2026-11-06GoMIT
موجود أيضًا في: #2 Go (Golang) terminal UI libraries
-
5
fx
Terminal JSON viewer & processor.
20,725 stars 506 forkslast push 2026-11-20GoMIT
موجود أيضًا في: #3 Go (Golang) terminal UI libraries
-
6
termui
Go terminal dashboard based on **termbox-go** and inspired by blessed-contrib.
13,589 stars 817 forkslast push 2025-07-10GoMIT
موجود أيضًا في: #4 Go (Golang) libraries for command-line apps#4 Go (Golang) terminal UI libraries
-
7
lipgloss
Declaratively define styles for color, format and layout in the terminal.
12,068 stars 546 forkslast push 2026-11-26GoMIT
موجود أيضًا في: #5 Go (Golang) libraries for command-line apps#5 Go (Golang) terminal UI libraries
-
8
gocui
Minimalist Go library aimed at creating Console User Interfaces.
10,625 stars 644 forkslast push 2025-05-01GoBSD-3-Clause
موجود أيضًا في: #6 Go (Golang) libraries for command-line apps#6 Go (Golang) terminal UI libraries
-
9
bubbles
TUI components for bubbletea.
9,079 stars 494 forkslast push 2026-11-22GoMIT
موجود أيضًا في: #7 Go (Golang) libraries for command-line apps#7 Go (Golang) terminal UI libraries
-
10
huh
Lightweight library for building interactive forms and prompts in the terminal.
7,272 stars 286 forkslast push 2026-10-01GoMIT
موجود أيضًا في: #8 Go (Golang) libraries for command-line apps#8 Go (Golang) terminal UI libraries
-
11
elvish
An expressive programming language and a versatile interactive shell.
6,401 stars 332 forkslast push 2026-03-31GoBSD-2-Clause
-
12
pterm
A library to beautify console output on every platform with many combinable components.
5,572 stars 230 forkslast push 2026-10-12GoMIT
موجود أيضًا في: #9 Go (Golang) libraries for command-line apps#9 Go (Golang) terminal UI libraries
-
13
go-prompt
Library for building a powerful interactive prompt, inspired by python-prompt-toolkit.
5,499 stars 375 forkslast push 2025-08-12GoMIT
موجود أيضًا في: #10 Go (Golang) libraries for command-line apps#10 Go (Golang) terminal UI libraries
-
14
termbox-go
Termbox is a library for creating cross-platform text-based interfaces.
4,786 stars 371 forkslast push 2026-08-23GoMIT
موجود أيضًا في: #11 Go (Golang) libraries for command-line apps#11 Go (Golang) terminal UI libraries
-
15
progressbar
Basic thread-safe progress bar that works in every OS.
4,704 stars 267 forkslast push 2026-09-19GoMIT
موجود أيضًا في: #12 Go (Golang) libraries for command-line apps#12 Go (Golang) terminal UI libraries
-
16
glamour
Stylesheet-based markdown rendering for terminal applications.
3,767 stars 458 forkslast push 2026-11-26GoMIT
موجود أيضًا في: #13 Go (Golang) libraries for command-line apps#13 Go (Golang) terminal UI libraries
-
17
kingpin
Command line and flag parser supporting sub commands (superseded by).
3,565 stars 282 forkslast push 2026-10-20GoMIT
موجود أيضًا في: #14 Go (Golang) libraries for command-line apps
-
18
kong
Command-line parser with support for arbitrarily complex command-line structures (successor to).
3,211 stars 209 forkslast push 2026-11-22GoMIT
موجود أيضًا في: #15 Go (Golang) libraries for command-line apps
-
19
asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
3,102 stars 125 forkslast push 2026-10-17GoBSD-3-Clause
موجود أيضًا في: #16 Go (Golang) libraries for command-line apps#14 Go (Golang) terminal UI libraries
-
20
termdash
Go terminal dashboard based on **termbox-go** and inspired by termui.
3,049 stars 150 forkslast push 2026-09-14GoApache-2.0
موجود أيضًا في: #17 Go (Golang) libraries for command-line apps#15 Go (Golang) terminal UI libraries
المراجع
- avelino/awesome-go: Command Line, GitHub community list (list text CC0/MIT per repository; star counts from the GitHub API). Checked 2026-11-26 18:02 UTC.
- avelino/awesome-go (Command Line), GitHub community list, 104 tools with a public repository.