Created
October 18, 2016 09:11
-
-
Save kentarosasaki/d76580f0374c46b160f3a570ddc5be01 to your computer and use it in GitHub Desktop.
GCPのgcloudコマンドをインストールする ref: http://qiita.com/kentarosasaki/items/2232113b44b016a56adc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl https://sdk.cloud.google.com | bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do you want to help improve the Google Cloud SDK (Y/n)? y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modify profile to update your $PATH and enable shell command | |
completion? (Y/n)? y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enter a path to an rc file to update, or leave blank to use [/home/test-user/.bashrc]: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ exec -l $SHELL | |
$ which gcloud | |
~/google-cloud-sdk/bin/gcloud |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcloud init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your current configuration has been set to: [default] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You must log in to continue. Would you like to log in (Y/n)? y | |
Go to the following link in your browser: | |
¦ https://accounts.google.com/o/oauth2/XXXXXXXXXXXXXXXXXXXXXX | |
Enter verification code: YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are logged in as: [your-email@address]. | |
Your current project has been set to: [your-project-name]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do you want to configure Google Compute Engine | |
(https://cloud.google.com/compute) settings (Y/n)? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment