Help us understand the problem. What is going on with this article?

[メモ] Google Cloud SDKをHomebrewを使ってMacにインストールした時のメモ

  1. brew cask install google-cloud-sdk する.
  2. brew cask infoで出る下記のような注意書きの通りに .profile.bashrc.zshrc などの適切なところに指定のスクリプトを実行する2行をいれる. これをしないとパスが通らない.

$ brew cask info google-cloud-sdk
(中略)
==> Caveats
google-cloud-sdk is installed at /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk. Add your profile:

for bash users
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc'
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc'

for zsh users
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc'
source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc'

※ Homebrewにおける注意事項として、brew installbrew cask install の後にCaveatsがあればCaveatsに従って諸々の設定を行う作業が必須ということがあります。Homebrewならコマンドで一発インストールできると思い込みがちですが、必ずしもそうではありません。皆さんもCaveatsを見逃さないように注意しましょう。特に複数のbottleを同時にインストールした時などは見逃しやすいので気をつけてくださいね。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away