WSL 2 version check
PS C:\Users> wsl -l -v NAME STATE VERSION* Ubuntu-22.04 Running 2
PS C:\Users> wsl -l -v
NAME STATE VERSION
* Ubuntu-22.04 Running 2
Install packages
apt-get update && apt-get install -y \
zip \
curl
Install AWS CLI
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
After installing AWS CLI, you can configure Access ID and Access Key to access your AWS account
aws configure
To check your configuration,
aws configure list
To see your credentials,
cat ~/.aws/credentials
No comments:
Post a Comment