Skip to content

Instantly share code, notes, and snippets.

@pauldougan
Last active November 7, 2020 23:35
Show Gist options
  • Select an option

  • Save pauldougan/1ed68164c1380964c8af809ea00a1ab5 to your computer and use it in GitHub Desktop.

Select an option

Save pauldougan/1ed68164c1380964c8af809ea00a1ab5 to your computer and use it in GitHub Desktop.
Set up ubuntu environment `curl -sL http://bit.ly/dougapd-setup-ubuntu | bash`
!#/usr/bin/env bash
# curl -sL http://bit.ly/dougapd-setup-ubuntu | bash
PACKAGES=figlet
echo Setup ubuntu
apt-get install $PACKAGES
# add the Cloud Foundry Foundation public key and package repository to your system
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
# update local package index, then finally install the cf CLI
sudo apt-get update
sudo apt-get install cf-cli
cf version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment