Go to console.cloud.google.com and sign in and start Google Cloud Shell
For Debian and Ubuntu-based Linux distributions, perform the following steps:
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 -