LoginSignup
14
7

More than 5 years have passed since last update.

MacOSでfishにgoogle-cloud-sdkをインストールするときの手順

Posted at

ちょっと時間をかけてしまったので、メモを残す。

前提条件

  • Homebrewインストール済み
  • fishインストール済み

手順

brew cask でSDKをインストール

brew cask install google-cloud-sdk

config.fishにSDKの設定を追加

vim ~/.config/fish/config.fish

下記を追加する

source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.fish.inc

コマンド補完を有効にする

https://github.com/aliz-ai/google-cloud-sdk-fish-completion をcloneしてinstall.shを実行

参考

14
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
7