How to install gcloud SDK on the macOS and start managing GCP through CLI?

<h2>Before Starting:</h2> <ol> <li>Create one google cloud Platform Project.</li> <li>Cloud SDK requires Python. Supported versions are 3.5 to 3.7, and 2.7.9 or higher. To check the Python version installed on your system:</li> </ol> <pre> python -V</pre> <p>3. Download the archive file for your macOS 64-bit (x86_64) form&nbsp;<a href="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-289.0.0-darwin-x86_64.tar.gz" rel="noopener ugc nofollow" target="_blank"><strong>here</strong>.</a></p> <p>4. Extract the archive file to any location on your file system preferably the home directory this can be archive by opening the .tar.gz file in the preferred location.</p> <p>5. Now install the script to add cloud SDK tools to your path using this command make sure you install it into your bash_profile:</p> <pre> ./google-cloud-sdk/install.sh</pre> <p>Restart the terminal for the changes to take effects.</p> <p>An alternative method if the above one fails is by using brew command to install it using below mention command.</p> <p><a href="https://tapendradev.medium.com/how-to-install-gcloud-sdk-on-the-macos-and-start-managing-gcp-through-cli-d14d2c3a8869"><strong>Click Here</strong></a></p>
Tags: gcloud SDK