Installing Google Cloud macOS SDK

If you want to install Google Cloud macOS SDK on your Mac, you can do that by following the below steps,

  1. Make sure that Python 3+ has been installed on your device. You can do that by command python3 -V in your terminal.
    % python3 -V
    Python 3.8.2
  2. Now download the latest SDK for macOS from Google Cloud website: Note Select appropriately if you have a M1 Apple Chip Mac device download the arm64 version.
  3. One you download and extract the tar.gz file: runt the script: ./google-cloud-sdk/
  4. Now run the gCloud init command ./google-cloud-sdk/bin/gcloud init
  5. To check Google Cloud macOS SDK has been installed correctly try running the help command: gcloud help
Installing Google Cloud macOS SDK
Installing Google Cloud macOS SDK

Have Questions? Post them here!

Recent Posts:

Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.