[Google Cloud CLI](https://cloud.google.com/sdk/docs/install) enables you to work with [[Google Cloud Platform]] from your command line. The Google Cloud CLI includes the `gcloud`, `gsutil` and `bq` command-line tools. ## install Follow the installation instructions for your OS [here](https://cloud.google.com/sdk/docs/install). ### linux See the docs (linked above) for complete setup and configuration steps. I recommend `Y` for updating your [[PATH]]. ### windows Download the installer or paste the provided code into your PowerShell (both do the same thing). If you already have [[Python]] installed, you can uncheck the option to install the bundled Python. ## authorize Run `gcloud init` to initialize (you will be prompted to log in). Select a project to work on initially. ## change project When you first install Gcloud CLI, it will prompt you to select a project from your list of projects. You can set a different project with ```bash gcloud config set project YOUR_PROJECT_ID ``` Use the universally unique project ID (not necessarily the name you gave it). ## help * Run `gcloud --help` to see the Cloud Platform services you can interact with. And run `gcloud help COMMAND` to get help on any gcloud command. * Run `gcloud topic --help` to learn about advanced features of the CLI like arg files and output formatting * Run `gcloud cheat-sheet` to see a roster of go-to `gcloud` commands. * Run `gcloud topic configurations` to create additional configurations if you work with multiple accounts and/or projects. * Run `gcloud help config` to learn how to change individual settings ## configurations Configurations are helpful when you work with multiple projects or multiple accounts. Use `gcloud init` to set up a configuration. To activate a configuration ```bash gcloud config configurations activate my-config ```