Skip to content

Instantly share code, notes, and snippets.

@facundobianco
Last active January 27, 2022 14:30
Show Gist options
  • Save facundobianco/430429e13cfbfeda6db261efcf2125f6 to your computer and use it in GitHub Desktop.
Save facundobianco/430429e13cfbfeda6db261efcf2125f6 to your computer and use it in GitHub Desktop.
Install AWS CLI locally (without sudo)
#!/bin/bash
wget -O awscliv2.zip https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
unzip awscliv2.zip
mkdir ~/.local/share/aws-cli ~/.local/bin
./aws/install -i ~/.local/share/aws-cli -b ~/.local/bin
echo 'export PATH="$PATH:~/.local/bin"' >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment