cloud foundry client code example Example 1: script to install cf cli in linux sudo apt-get install cf-cli Example 2: script to install cf cli in linux sudo apt-get update