$ sudo apt-get install python-pipa. Use pip to install the AWS CLI.
$ pip install awscli --upgrade --userb. Add an export command to your profile script.
To modify your PATH variable (Linux, macOS, or Unix)
- Find your shell's profile script in your user folder. If you are not sure which shell you have, run echo $SHELL.
$ ls -a ~In the file ~/.zshrc or ~/.bashrc add line.
export PATH=~/.local/bin:$PATH$ aws configure- Need AWS Access Key ID
- Need AWS Secret Access Key
- Default region name: None
- Default output format: None
$ aws --region eu-west-1 ecr get-login --no-include-email | sh