urfave/cli
MIT declarative package for building command-line tools in Go
Libraries / Libraries · OSS/MIT · 24.3k
Reviewed 2026-10-21 · last push 2026-10-21 · repo checked 2026-10-21
What's Good
MIT (urfave/cli), release v3.14.0 (2026-10-02), commit on 2026-10-20. ★~24k (~35 a week). Useful when you want a CLI with subcommands, flags, env-var fallbacks and shell completion without a code generator.
The Catch
v3 broke the v2 API, so older tutorials and Stack Overflow answers won't match; check the import path (v3) before copying examples.
Verdict
A mature, lightweight way to build Go CLIs; follow the v3 docs.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/urfave-cli)
HTML
<a href="https://stackgems.com/gems/urfave-cli"><img src="https://stackgems.com/badge/urfave-cli.svg" alt="urfave/cli reviewed on Stack Gems" height="20"></a>