この記事ではAWS CLIのWindowsでのアンインストール方法を記載していきます。
”プログラムと機能”を開く
Windowsキー+Rを同時に押します。
ファイル名を指定して実行が表示される事を確認する。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-130.png?resize=445%2C259&ssl=1)
ファイル名を指定して実行する
appwiz.cpl を入力してOKを押します。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-131.png?resize=459%2C278&ssl=1)
”プログラムと機能”の画面が表示されることを確認します。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-132.png?resize=696%2C335&ssl=1)
AWS Command Lineを検索する
画面右上の検索バーに”AWS Command Line Interface”と入力します。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-134.png?resize=301%2C160&ssl=1)
AWS Command Line Interfaceが表示される事を確認します。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-135.png?resize=972%2C347&ssl=1)
AWS Command Line Interfaceをアンインストールする
AWS Command Line Interfaceを右クリックし、アンインストールをクリックします。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-137.png?resize=586%2C355&ssl=1)
「AWS Command Line Interfaceをアンインストールしますか?」と表示されるので、”はい”をクリックします。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-138.png?resize=534%2C154&ssl=1)
「このデバイスがアプリを変更する事を許可しますか?」と言うメッセージがでるので”はい”をクリックします。
端末の状況にもよりますが、アンインストールが完了するまで1分程かかります。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-140.png?resize=514%2C170&ssl=1)
AWS CLIがアンインストールされたことを確認する
Windowsキー+Rを同時に押します。
ファイル名を指定して実行が表示される事を確認する。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-130.png?resize=445%2C259&ssl=1)
“cmd”と入力し、”OK”をクリックする。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-143.png?resize=444%2C262&ssl=1)
コマンドラインが表示されるので、以下のコマンドを入力します。
aws configure
‘aws’ は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
という表示が出ればAWS CLIのアンインストールは完了しています。
![](https://i0.wp.com/syutech-engineer.com/wp-content/uploads/2023/11/image-144.png?resize=1024%2C267&ssl=1)