Install the Cloud Foundry CLI
What?
The Cloud Foundry Command Line Interface (cf CLI) is a tool used to deploy and manage your applications, users, and services in a CF environment.
How?
Download and run the latest CLI release installer from GitHub
Expected Result
Open the command line and run cf version
. The output should look like…
$ cf version
cf version x.xx.x-xxxxxxx
Next run cf help -a
to see all the commands at your disposal.
Resources
- Aside from the Official Cloud Foundry CLI Docs, the output from
cf help -a
is probably your most useful resource. It is, however, a little long. Use Linux’s grep command to find what you’re looking for (tip number 6 in that link is especially useful). - For more tips on using a command line, check out this quick and dirty overview of the command line and how to use it.
Relevant Repos
- CLI: cloudfoundry/cli