Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.08 KB

INSTALL.md

File metadata and controls

26 lines (23 loc) · 1.08 KB

Windows

  1. Download the CLI from github: https://github.com/cloudfoundry/cli/releases
  2. Extract the zip file.
  3. Create a folder in C:\Program Files, named "Cloud Foundry"
  4. Move cf to C:\Program Files\Cloud Foundry\
  5. Set your %PATH% to include C:\Program Files\Cloud Foundry (see instructions)
  6. Right-click My Computer > Properties
  7. Click on Advanced system settings
  8. Click on Environment Variables
  9. Click on "Path" in the System Variables list
  10. Click Edit
  11. Append C:\Program Files\Cloud Foundry\ to the Variable value separated by a semicolon
  12. Click OK
  13. Click OK
  14. Open up the command prompt and type cf
  15. You should see the CLI help if everything is successful

Mac OSX and Linux

  1. Download the CLI from github: https://github.com/cloudfoundry/cli/releases
  2. Extract the tgz file.
  3. Move cf to /usr/local/bin
  4. Confirm /usr/local/bin is in your PATH by typing echo $PATH at the command line
  5. Type cf at the command line
  6. You should see the CLI help if everything is successful