Mac awscli v1をbrewを使ってawscli v2にアップデート

awscliをbrewコマンドを使ってupgradeする

FormulaUnavailableError: No available formula with the name

とエラーが表示されたときは、

brew tap <package name>

と入力するとアップグレード可能


$ brew upgrade awscli

==> Installing python@2
Error: An exception occurred within a child process:
  FormulaUnavailableError: No available formula with the name "/usr/local/opt/python@2/.brew/[email protected]"

$ brew tap python@2
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.

$ brew upgrade awscli
Warning: awscli 2.0.40 already installed
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x