github.com/asifdxtreme/cli@v6.1.3-0.20150123051144-9ead8700b4ae+incompatible/INSTALL.md (about)

     1  ## Windows
     2  
     3  1. Download the CLI from github: https://github.com/cloudfoundry/cli/releases
     4  2. Extract the zip file.
     5  3. Create a folder in C:\Program Files\, named "Cloud Foundry"
     6  4. Move `cf` to C:\Program Files\Cloud Foundry\
     7  5. Set your %PATH% to include C:\Program Files\Cloud Foundry [(see instructions)](http://www.wikihow.com/Create-a-Custom-Windows-Command-Prompt)
     8    1. Right-click My Computer > Properties
     9    2. Click on Advanced system settings
    10    3. Click on Environment Variables
    11    4. Click on "Path" in the System Variables list
    12    5. Click Edit
    13    6. Append C:\Program Files\Cloud Foundry\ to the Variable value separated by a semicolon
    14    7. Click OK
    15    8. Click OK
    16  6. Open up the command prompt and type `cf`
    17  7. You should see the CLI help if everything is successful
    18  
    19  ## Mac OSX and Linux
    20  
    21  1. Download the CLI from github: https://github.com/cloudfoundry/cli/releases
    22  2. Extract the tgz file.
    23  3. Move `cf` to /usr/local/bin
    24  4. Confirm /usr/local/bin is in your PATH by typing `echo $PATH` at the command line
    25  5. Type `cf` at the command line
    26  6. You should see the CLI help if everything is successful