- Download the CLI from github: https://github.com/cloudfoundry/cli/releases
- Extract the zip file.
- Create a folder in C:\Program Files, named "Cloud Foundry"
- Move
cf
to C:\Program Files\Cloud Foundry\ - Set your %PATH% to include C:\Program Files\Cloud Foundry (see instructions)
- Right-click My Computer > Properties
- Click on Advanced system settings
- Click on Environment Variables
- Click on "Path" in the System Variables list
- Click Edit
- Append C:\Program Files\Cloud Foundry\ to the Variable value separated by a semicolon
- Click OK
- Click OK
- Open up the command prompt and type
cf
- You should see the CLI help if everything is successful
- Download the CLI from github: https://github.com/cloudfoundry/cli/releases
- Extract the tgz file.
- Move
cf
to /usr/local/bin - Confirm /usr/local/bin is in your PATH by typing
echo $PATH
at the command line - Type
cf
at the command line - You should see the CLI help if everything is successful