docs/index.md
urfave/cli is a declarative, simple, fast, and fun package for building command line tools in Go featuring:
bash, zsh, fish, and powershellman and markdown format documentation generation-a -b -c :arrow_right: -abc)urfave/cli-altsrc packageThese are the guides for each major version:
In addition to the version-specific guides, these other documents are available:
Using this package requires a working Go environment. See the install instructions for Go.
Go Modules are required when using this package. See the go blog guide on using Go Modules.
v3 releasesThe latest v3 release may be installed via the /v3 suffix and is the
recommended version for all new development. The state of the main
branch at any given time may
correspond to a v3 series release or pre-release. Please see the v3
migration guide on using v3 if you are upgrading from
v2.
go get github.com/urfave/cli/v3@latest
import (
"github.com/urfave/cli/v3" // imports as package "cli"
)
v2 releases:warning: The v2 series is receiving security and bug fixes only via the
v2-maint branch and should
not be used in new development. Please see the v3 migration
guide and feel free to open an issue or discussion if
you need help with the migration to v3.
go get github.com/urfave/cli/v2@latest
import (
"github.com/urfave/cli/v2" // imports as package "cli"
)
v1 releases:warning: The v1 series is receiving security fixes only via the
v1-maint branch and should
not be used in new development. Please see the v2 migration
guide and feel free to open an issue or discussion if
you need help with the migration to v2.
cli is tested against multiple versions of Go on Linux, and against the latest released version of Go on OS X and Windows. This project uses GitHub Actions for builds. To see our currently supported go versions and platforms, look at the github workflow configuration.