Skip to content

Cannot install the latest version of aws on macOS #10353

Description

@dexpota

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.source-distributioncli v2 source distritbution related issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions