Skip to content

Windows - Installing AWS CLI

Warning

Only one version of AWS CLI can be installed at a time. If you have another version of AWS CLI installed, including a version installed by support, it must first be removed.

To install AWS CLI:

  1. Download the AWSCLIV2.msi file, then move the installer to D:\bc\downloads.

  2. Open a command prompt, then run the following command to extract the installer:

    msiexec /a d:\abc\downloads\AWSCLIV2.msi /qb TARGETDIR=d:\abc\software\awscli
    
  3. Update your Path variable by doing the following:

    • Open the Control Panel, search for Path, then click Edit environment variables for your account.
    • Edit the Path user variable to include D:\abc\software\awscli\Amazon\AWSCLIV2.
  4. Ensure your Path variable is set correctly by opening a new command prompt, then running the following command:

    aws --version