🚧 Coming Soon! 🚧
Please visit HERE for more information
Last modified March 27, 2025
AWS CLI installation instructions
Please install and use the AWS CLI version 2
For more information on the AWS CLI installation, go to https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
Linux
- Download Installation file
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- Unzip Installer
unzip awscliv2.zip
- Run the install program
sudo ./aws/install
Windows
- Download and run the AWS CLI MSI installer for Windows (64-bit):
https://awscli.amazonaws.com/AWSCLIV2.msi
- Alternatively, you can run the
msiexec
command to run the MSI installer.
c:\ msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi
- To confirm the installation, open the Start menu, search for cmd to open a command prompt window, and at the command prompt use the aws –version command.
c:\ aws --version
aws-cli/2.7.24 Python/3.8.8 Windows/10 exe/AMD64 prompt/off
MacOS
- Download the file using the
curl
command. The-o
option specifies the file name that the downloaded package is written to. In this example, the file is written toAWSCLIV2.pkg
in the current folder.
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
- Run the standard macOS
installer
program, specifying the downloaded.pkg
file as the source. Use the-pkg
parameter to specify the name of the package to install and the-target /
parameter for which drive to install the package to. The files are installed to/usr/local/aws-cli
, and a symlink is automatically created in/usr/local/bin
. You must includesudo
on the command to grant write permissions to those folders.
sudo installer -pkg ./AWSCLIV2.pkg -target /
After installation is complete, debug logs are written to /var/log/install.log.
- To verify that the shell can find and run the
aws
command in your$PATH
, use the following commands:
$ which aws
/usr/local/bin/aws
$ aws --version
aws-cli/2.9.23 Python/3.9.11 Linux/5.15.0-1030-aws exe/x86_64.ubuntu.22 prompt/o
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.