---
slug: "install-aws-cli-v1-into-ubuntu"
title: "How to Install AWS CLI V1 on Ubuntu Using Snap"
description: "The blog post provides a method to forcefully specify and install AWS CLI version 1 when attempting to install using the command `sudo snap aws-cli`, which by default installs version 2."
url: "https://www.ytyng.com/en/blog/install-aws-cli-v1-into-ubuntu"
publish_date: "2025-01-15T12:02:35Z"
created: "2025-01-15T12:02:35Z"
updated: "2026-02-27T09:05:36.635Z"
categories: ["AWS", "Linux"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20250609/79460c1ffb6e43a8a619f3ca39165c67.png.webp?width=768"
has_video: true
has_music: true
video_urls: ["https://media.ytyng.net/ytyng-blog/317/featured-video-1.mp4", "https://media.ytyng.net/ytyng-blog/317/featured-video-2.mp4", "https://media.ytyng.net/ytyng-blog/317/featured-video-3.mp4"]
music_urls: ["https://media.ytyng.net/ytyng-blog/317/featured-music-317-5.mp3", "https://media.ytyng.net/ytyng-blog/317/featured-music-317-6.mp3"]
lang: "en"
---

# How to Install AWS CLI V1 on Ubuntu Using Snap

As of 2025,

```shell
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:

```shell
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:

```shell
sudo snap refresh aws-cli --channel=v1/stable --classic
```

You can check the corresponding channels and versions with:

```shell
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
```
