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)

Image of Stellar post

🚀 Stellar Dev Diaries Series: Episode 1 is LIVE!

Ever wondered what it takes to build a web3 startup from scratch? In the Stellar Dev Diaries series, we follow the journey of a team of developers building on the Stellar Network as they go from hackathon win to getting funded and launching on mainnet.

Read more

👋 Kindness is contagious

Dive into this thoughtful article, cherished within the supportive DEV Community. Coders of every background are encouraged to share and grow our collective expertise.

A genuine "thank you" can brighten someone’s day—drop your appreciation in the comments below!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found value here? A quick thank you to the author makes a big difference.

Okay