Your cart is currently empty!
Handy AWS CLI Install Script 🧾
Create a file in your WSL2 environment and paste this in:
#!/bin/bash
# Update the package list
sudo apt-get update
# Install the AWS CLI dependencies
sudo apt-get install -y unzip
# Download and install AWS CLI version 2
curl "https://d1vvhvl2y92vvt.cloudfront.net/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
# Verify the installation
aws --version
# Clean up downloaded files
rm -rf awscliv2.zip
rm -rf aws
echo "AWS CLI installation completed."
set it as executable:
chmod +x install_aws_cli.sh
Then run it like so:
sudo ./install_aws_cli.sh
You should now have aws cli installed 😎
by
Tags:
Leave a Reply