DEV Community

Shaikh Al Amin
Shaikh Al Amin

Posted on • Edited on

Install aws cli in ubuntu

Run the below command:

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.0.30.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Enter fullscreen mode Exit fullscreen mode

put path in bin directory from bashrc. open basrc

sudo nano .bashrc and put the below content:

export PATH="/usr/local/bin:$PATH"

Enter fullscreen mode Exit fullscreen mode

Configure AWS CLI

aws configure
Enter fullscreen mode Exit fullscreen mode
AWS Access Key ID [None]: ABCDEFXXXXXXXXDKKDFJ
AWS Secret Access Key [None]: 3SDFskjf8KDfjksdf9sdfjsdkfjkKSDKSJFKD90TYUI
Default region name [None]: us-east-1
Default output format [None]:
Enter fullscreen mode Exit fullscreen mode

Top comments (0)