urfave

    urfave/cli

    A declarative, simple, fast, and fun package for building command line tools in Go

    24.3K stars
    1.9K forks
    279 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    4 releases in the last 90 days, the latest 36 days ago, with 345 contributors on GitHub.

    Use Cases & Benefits

    • Provides a declarative and fast Go package for building command line tools with support for commands, subcommands, and flexible input flags.
    • Offers zero dependencies outside the Go standard library, ensuring lightweight and efficient CLI application development.
    • Use for creating complex CLI applications with nested commands and dynamic shell completions in Go projects.
    • Use for generating documentation in man and Markdown formats to maintain clear CLI tool references.
    • Use for building CLI tools that require input configuration from environment variables, plain text, or structured files like JSON, TOML, and YAML.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    See the hosted documentation website at https://cli.urfave.org. Contents of this website are built from the ./docs directory.

    Excerpt from the urfave/cli README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Oct 2: +1Oct 3: +0Oct 4: +4Oct 5: +5Oct 6: +3Oct 7: +1Oct 8: -1Oct 9: -3Oct 10: +3Oct 11: +1Oct 12: +0Oct 13: +1Oct 14: +2Oct 15: +1Oct 16: -1Oct 17: +3Oct 18: -3Oct 19: +1Oct 20: +2Oct 21: +2Oct 22: +5Oct 23: +1Oct 24: +3Oct 25: +4Oct 26: -2Oct 27: +0

    +119 stars over 84 days across 31 snapshot days; best day +5 on Oct 5.

    Forks

    1.9K+54

    Open issues

    36-46

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    urfave/cli compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    morluto/rea450.0K+22.9K7516 days ago
    mattpocock/skills320.9K+9.5K7512 days ago
    vercel-labs/agent-desktop21.4K+8.7K755 days ago
    stablyai/orca121.4K+6.7K75today
    vercel-labs/agent-browser49.2K+3.8K751 day ago
    urfave/cli24.3K—6336 days ago
    Category median121.4K+8.7K75—

    Discover Repositories

    Search across tracked repositories by name or description