在Mac上安裝GCP Cloud SDK

James Shieh
Nov 1 · 1 min read

Step1.執行以下指令:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/nullbrew cask install google-cloud-sdk

Step2.登入帳戶:

gcloud auth login

Step3.指定欲操作的Project

gcloud config set project PROJECT_ID
    James Shieh

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade