How to Install AWS CLI V1 on Ubuntu Using Snap

AWS Linux
2025-01-15 21:02 (5 days ago) ytyng

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
Currently unrated

Comments

Archive

2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011