0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

AWS CLIのバージョンアップ

Posted at

背景

ローカルのAWS構成情報一覧を表示しようと思い、

$ aws configure list-profiles

を実行したが、AWS CLIのバージョンが古いみたく、実行失敗した。
2系のAWSCLIにバージョンアップする必要があるので、その手順をメモ程度にざざっと書く。

前提

$ aws --version
aws-cli/1.18.43 Python/2.7.16 Darwin/17.7.0 botocore/1.15.43

バージョンアップ実行

$ curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
$ sudo installer -pkg AWSCLIV2.pkg -target /

確認

$ aws --version
aws-cli/2.2.2 Python/3.8.8 Darwin/17.7.0 exe/x86_64 prompt/off

2系のaws-cliにバージョンアップできました!
aws-cli以外にも変更されてるのは、他作業で変わってしまったかもしれないですm(_ _)m

参考

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?