install cf cli ubuntu

install cf client ubuntu

sudo apt-get install cf-cli

Source: docs.cloudfoundry.org

install cf cli ubuntu

wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list

Source: docs.cloudfoundry.org