How to Install AWS CLI V1 on Ubuntu Using Snap
AWSLinux
2025-01-15 12:02 (14 months ago)
As of 2025,
sudo snap install aws-cli --classic
will install AWS CLI v2.
If you want to install v1 instead of v2, you can specify the channel as follows:
sudo snap install aws-cli --channel=v1/stable --classic
If you want to downgrade an already installed AWS CLI to v1, you can do so by executing:
sudo snap refresh aws-cli --channel=v1/stable --classic
You can check the corresponding channels and versions with:
snap info aws-cli
Result:
commands:
- aws-cli.aws
snap-id: CRrJViJiSuDcCkU31G0xpNRVNaj4P960
tracking: v1/stable
refresh-date: today at 11:57 UTC
channels:
v2/stable: 2.22.35 2025-01-15 (1148) 58MB classic
v2/candidate: ↑
v2/beta: ↑
v2/edge: ↑
latest/stable: 1.15.58 2020-04-03 (130) 15MB classic
latest/candidate: 2.22.35 2025-01-15 (1148) 58MB classic
latest/beta: ↑
latest/edge: ↑
v1/stable: 1.36.40 2025-01-15 (1150) 28MB classic
v1/candidate: ↑
v1/beta: ↑
v1/edge: ↑
installed: 1.36.40 (1150) 28MB classic
Please rate this article
Currently unrated
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.