Menu
Stuff by Yuki
  • Home
  • Python
  • Power BI
  • Tableau
  • Community
    • Makeover Monday
    • Workout Wednesday
  • 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

  • What are Power BI Dataflows?
  • Calculate the Max Sales Amount for Product
  • Convert DataFrame to Series in Polars
  • Pandas vs Polars – Speed Comparison
  • Polars with DuckDB – Using SQL in Polars

Popular Posts

  • A Running Total Calculation with Quick Measure in Power BI
  • How To Copy And Paste Report Page in Power BI
  • Year-Over-Year Calculation: Time Intelligence in Power BI
  • How to Fill Dates Between Start Date and End Date in Power BI (Power Query)
  • Network Visualizations in Python

connect with me

  • LinkedIn
  • Twitter
  • Github
©2023 Stuff by Yuki | Powered by SuperbThemes & WordPress