How to install and use Aws2 CLI for s3 in Linux?
By AWS Developer
1 min readDec 8, 2019
using Aws CLI we manage our ec2, s3 and etc. here more feature comparison to Aws console-like download multiple file and folder from s3.
Download Aws CLI zip file via curl
$ sudo curl “https://d1vvhvl2y92vvt.cloudfront.net/awscli-exe-linux-x86_64.zip" -o “awscliv2.zip”
unzip zip file AWS CLI via unzipping the package
$ sudo unzip awscliv2.zip
install Aws CLI
$ sudo ./aws/install
After installation check Aws version for confirming Aws CLI install or not successfully.
$ sudo /usr/local/bin/aws2 — version
Command for s3 help
$ sudo /usr/local/bin/aws2 s3 help
Configure your s3
$ sudo unzip awscliv2.zip sudo /usr/local/bin/aws2 configureAWS Access Key ID [None]: **********
AWS Secret Access Key [None]: *********
Default region name [None]: *********
Default output format [None]: json
Download bucket
$ sudo /usr/local/bin/aws2 s3 sync s3://bucketname Downloads/
comment for the next challenge and Doubts.