Gcloud
From charlesreid1
Installing
To use PubSub from gcloud, you have to install the Google Cloud SDK (standard developers' kit).
You have two options:
- Install using Homebrew
- Install using bundled installer from Google
Homebrew
To install the Google Cloud SDK using Homebrew:
$ brew cask install google-cloud-sdk
Now you can run a which gcloud:
$ which gcloud /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/gcloud
Google Installer
To use the installer provided by Google, visit the following link: https://cloud.google.com/sdk/docs/
Resources
Link to Google Cloud SDK documentation: https://cloud.google.com/sdk/docs/
Link to all Google Cloud SDK client libraries (many, many languages): https://cloud.google.com/apis/docs/cloud-client-libraries