You can use pip command to upgrade AWS CLI to the latest version as shown below –
1 2 3 4 5 6 7 8 |
## Get current AWS CLI version aws --version ## Upgrade AWS CLI to latest version pip install --upgrade awscli ## Get updated AWS CLI version aws --version |
Note: This will only work if you have installed the AWS CLI using the pip command in the first place. If you have used and another package manager or directly compiled from the source then follow this document.