Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue Installing AWS CLI on Mac

I got this error when installing AWS CLI:

installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while extracting files from the package “AWSCLIV2.pkg”.)

like image 977
wengxu Avatar asked Jun 15 '26 21:06

wengxu


1 Answers

I had the file in ~/Downloads and i moved the file to ~/ and i could install it successfully.

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

Documentation link: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

like image 182
Mike Brian Olivera Avatar answered Jun 20 '26 17:06

Mike Brian Olivera



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!