Installing the cf CLI
To install the cf CLI, go to https://console.run.pivotal.io/tools. Download and run the installer for your platform.
Verify the installation by opening a Terminal window and typing cf --version
. With this, you now have a Cloud Foundry client that can communicate with any Cloud Foundry installation, including PWS.
Note
Make sure that you have the latest version of the cf CLI installed. There may be cases where a previously installed version of the cf CLI is already present. This will cause frustration if there have been significant changes in the tool since the previous version was installed.
If you are interested in alternative ways to install the cf CLI, there are a few additional possibilities, including:
- Downloading and installing it from GitHub
- Installing it using a package manager
Note
The cf CLI is written in the Go programming language so that it is a highly performant application. It is distributed as a self-contained binary with no external dependencies. If you are...