Menu
Stuff by Yuki
  • Home
  • Data Engineering
    • Python
  • Business Intelligence
    • Power BI
    • Tableau
  • Perspectives
  • About
  • Contact
Stuff by Yuki

How to Set up Google Cloud CLI

Posted on October 27, 2022October 27, 2022

This is a step by step tutorial for setting up Google Cloud CLI on your laptop. I’m using a Mac machine, so this tutorial is focused on going through the setup for Mac.

Install the latest gcloud CLI version

  • Make sure you have supported version of Python, which is 3.5 to 3.9 (10/27/2022).
  • Go to this website to install gcloud CLI on your machine. Choose the OS of your laptop.
  • Extract the file on your home directory.
  • Initialize the gcloud CLI, open your terminal and type the following:
Copy Copied Use a different Browser

gcloud init

  • You’ll be asked to configure things like project ID and emails associated with your GCP account/project.
  • Now that you’ve installed gcloud CLI, you will make sure by typing the following:
Copy Copied Use a different Browser

gcloud --help

And that’s it! You configured google cloud CLI on your local machine.

If you want to double check that you can actually do stuff from my local machine for GCP, check out this blog post that talks about deploying a simple cloud function from a local machine to GCP.

References:

  • Quick start install SDK by google cloud

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Where I’m Headed in the Next 5 Years
  • Open-Source vs Vendor Data Tools
  • Developing the Habit of Writing
  • How to Inspect and Optimize Query Plans in Python Polars
  • Learn Python Polars with Polars Cookbook

Popular Posts

  • A Running Total Calculation with Quick Measure in Power BI
  • A Complete Guide to Git Integration in Power BI
  • How To Copy And Paste Report Page in Power BI
  • Handling Missing Values in Polars
  • How to Convert String to Date or Datetime in Polars

connect with me

  • LinkedIn
  • Twitter
  • Github
  • Website

Search Articles

©2025 Stuff by Yuki | Powered by SuperbThemes