Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 6dbe587

Browse files
authored
Merge pull request #29 from felicianotech/mention-v2-versions
Note that specific CLI versions can be downloaded.
2 parents a23dc2f + 6418e2d commit 6dbe587

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

Diff for: doc_source/install-cliv2-linux.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ sudo ./aws/install
6464
$ curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"
6565
```
6666

67-
------
67+
mention-v2-versions
68+
In this example the latest version of the CLI is downloaded\. A version can be specified by appending it just before the file extension: `https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.x.y.zip`
69+
70+
You can verify the integrity and authenticity of the installation file after you download it\. For more information, see [Verifying the Integrity and Authenticity of the Downloaded Files](#v2-install-linux-validate) before you unzip the package\.
6871
+ **Downloading from the URL** – To download the installer with your browser, use the following URL: `[https://awscli\.amazonaws\.com/awscli\-exe\-linux\-x86\_64\.zip](https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip)`\. You can verify the integrity and authenticity of your downloaded installation file before you extract \(unzip\) the package\. See [Verify the integrity and authenticity of the downloaded installer files](#v2-install-linux-validate) for more information\.
6972

7073
1. Unzip the installer\. If your Linux distribution doesn't have a built\-in `unzip` command, use an equivalent to unzip it\. The following example command unzips the package and creates a directory named `aws` under the current directory\.

Diff for: doc_source/install-cliv2-mac.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ $ sudo installer -pkg AWSCLIV2.pkg -target /
6767
$ curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
6868
```
6969
70+
In this example, the `-o` option specifies the file name that the downloaded package is written to\. In the previous example, the file is written to `AWSCLIV2.pkg` in the current folder\.
71+
72+
In this example the latest version of the CLI is downloaded\. A version can be specified by appending it just before the file extension: `https://awscli.amazonaws.com/AWSCLIV2-2.x.y.pkg`
73+
7074
1. Run the standard macOS `installer` program, specifying the downloaded `.pkg` file as the source\. Use the `-pkg` parameter to specify the name of the package to install, and the `-target /` parameter for which drive to install the package to\. The files are installed to `/usr/local/aws-cli`, and a symlink is automatically created in `/usr/local/bin`\. You must include `sudo` on the command to grant write permissions to those folders\.
7175
7276
```
@@ -166,6 +170,7 @@ To uninstall the AWS CLI version 2, run the following commands, substituting the
166170
167171
1. Delete the main installation folder\. Use `sudo` to gain write access to the `/usr/local` folder\.
168172
173+
169174
```
170175
$ sudo rm -rf /usr/local/aws-cli
171-
```
176+
```

Diff for: doc_source/install-cliv2-windows.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Before you can install or update the AWS CLI version 2 on Windows, be sure you h
2626

2727
1. Run the downloaded MSI installer and follow the on\-screen instructions\. By default, the AWS CLI installs to `C:\Program Files\Amazon\AWSCLIV2`\.
2828

29+
In this example the latest version of the CLI is downloaded\. A version can be specified by appending it just before the file extension: `https://awscli.amazonaws.com/AWSCLIV2-2.x.y.zip`
30+
2931
1. To confirm the installation, open the **Start** menu, search for `cmd` to open a command prompt window, and at the command prompt use the `aws --version` command\.
3032

3133
Don't include the prompt symbol \(`C:\>`\) when you type a command\. These are included in program listings to differentiate commands that you type from output returned by the AWS CLI\. The rest of this guide uses the generic prompt symbol \(`$`\), except in cases where a command is Windows\-specific\. For more information about how we format code examples, see [Using the examples](cli-chap-welcome.md#cli-using-examples)\.
@@ -49,4 +51,5 @@ Before you can install or update the AWS CLI version 2 on Windows, be sure you h
4951
5052
1. Select the entry named **AWS Command Line Interface**, and then choose **Uninstall** to launch the uninstaller\.
5153
52-
1. Confirm that you want to uninstall the AWS CLI\.
54+
55+
1. Confirm that you want to uninstall the AWS CLI\.

0 commit comments

Comments
 (0)