The Cloud Foundry CLI is the official command line client for Cloud Foundry, written in Go and designed to enable developers and operators to interact with Cloud Foundry platforms from the terminal. The repository serves as the primary tool for managing applications, services, and infrastructure within Cloud Foundry environments, supporting deployment automation, application management, and platform-as-a-service operations across multi-cloud deployments.
The CLI currently maintains v8 as its actively supported version, which is backed by the v3 Cloud Controller API. Version 7 and version 6 are no longer maintained or released, though the repository provides installation guides and documentation for both current and deprecated versions. Users can access comprehensive help documentation through the cf help command or view online resources for v8 and v7 CLI versions. The repository includes installation instructions, version switching guides, and detailed documentation for transitioning between different CLI versions.
The project maintains an extensive list of known issues and platform-specific workarounds documented in the README. These include Windows-specific challenges with interactive password prompts in Cygwin and Git Bash, SSH display issues when TERM is not properly configured, and hanging behavior in MINGW shells.
GitGenius activity data reveals significant ongoing development and maintenance.
The CLI supports plugin development through an external code execution API, allowing developers to extend functionality with community-contributed plugins available through the official plugins repository. The plugin development guide and examples are included in the main repository, with plugins importing from code.cloudfoundry.org/cli/v9/plugin, while older plugins using the legacy github.com/cloudfoundry/cli/plugin path remain compatible through vendoring.
Support is available through the Cloud Foundry Slack community and the cf-dev mailing list for users with questions or issues.