[A-00087]brewでoci-cliをインストールする
homebrewでoci-cli(oracle-cloud-cli)をインストールする方法を記載する。
brew install oci-cli
MacBook-Pro ~ % brew install oci-cli
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
......
==> Running `brew cleanup oci-cli`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
バージョン情報を確認します。
oci --version
MacBook-Pro ~ % oci --version
3.29.2
下記のコマンドにてoci情報の設定を行う。
oci setup config
oci-keyは下記の画面で発行可能。
[User Setting]>[API KEYS]


コメントを残す