Describe the issue
Description
When attempting to install the latest version of the AWS CLI on macOS using the official installation instructions, the installer fails with the following error:
Error - the package path specified was invalid: 'AWSCLIV2.pkg'
Steps to Reproduce
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
installer -pkg AWSCLIV2.pkg \
-target CurrentUserHomeDirectory \
-applyChoiceChangesXML choices.xml
Expected Behavior
The AWS CLI package should install successfully.
Actual Behavior
The installer exits with:
Error - the package path specified was invalid: 'AWSCLIV2.pkg'
Additional Information/Context
No response
CLI version used
latest
Environment details (OS name and version, etc.)
macOS 26.4.1
Describe the issue
Description
When attempting to install the latest version of the AWS CLI on macOS using the official installation instructions, the installer fails with the following error:
Error - the package path specified was invalid: 'AWSCLIV2.pkg'Steps to Reproduce
Expected Behavior
The AWS CLI package should install successfully.
Actual Behavior
The installer exits with:
Error - the package path specified was invalid: 'AWSCLIV2.pkg'Additional Information/Context
No response
CLI version used
latest
Environment details (OS name and version, etc.)
macOS 26.4.1