Skip to content

Instantly share code, notes, and snippets.

@anamorph
Last active July 30, 2022 09:50
Show Gist options
  • Save anamorph/aaf8434d3bbad92059b3 to your computer and use it in GitHub Desktop.
Save anamorph/aaf8434d3bbad92059b3 to your computer and use it in GitHub Desktop.
HOWTO Install AWS CLI on Debian

HOWTO Install AWS CLI on Debian

1. installing pre-reqs

sudo apt-get install python python-pip

2. installing the cli:

sudo pip install awscli

3. configuring the cli:

aws configure

This will create the following configuration files in ~/.aws/ :

$ ls ~/.aws/
config      credentials

credentials

This file contains the default and additional profiles you may have configured using the 3. command, modulo a few switches as explained in the documentation at Amazon, or using aws help

config

This file contains the configuration details per profile as configured using the 3. command as follows:

$ cat ~/.aws/config
[default]
output = json
region = eu-west-1
[backup]
output = json
region = eu-central-1
@marklysze
Copy link

However installing it "from amazon" worked: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html

Thanks @rdp, worked a treat on my Wheezy install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment