mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
Fixed gpc-cli brew installation and add install from source
Fixed gcloud cli installation via brew. Added installation from source. Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
This commit is contained in:
parent
644b3cfb3f
commit
2620489926
11
docs/gcp.md
11
docs/gcp.md
@ -15,7 +15,16 @@ You have two choices for authentication with Google Cloud
|
|||||||
You need the [Google Cloud SDK](https://cloud.google.com/sdk/)
|
You need the [Google Cloud SDK](https://cloud.google.com/sdk/)
|
||||||
installed. Either install it from the URL or view `brew` (on a Mac):
|
installed. Either install it from the URL or view `brew` (on a Mac):
|
||||||
```shell
|
```shell
|
||||||
brew install google-cloud-sdk
|
brew tap caskroom/cask
|
||||||
|
brew cask install google-cloud-sdk
|
||||||
|
```
|
||||||
|
|
||||||
|
Or via source code:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz
|
||||||
|
tar xzvf google-cloud-sdk-151.0.0-darwin-x86_64.tar.gz
|
||||||
|
./google-cloud-sdk/install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, set up some environment variables (adjust as needed) and login:
|
Then, set up some environment variables (adjust as needed) and login:
|
||||||
|
Loading…
Reference in New Issue
Block a user