diff --git a/doc_source/install-cliv2-linux.md b/doc_source/install-cliv2-linux.md index 11591db..f8229da 100644 --- a/doc_source/install-cliv2-linux.md +++ b/doc_source/install-cliv2-linux.md @@ -64,7 +64,10 @@ sudo ./aws/install $ curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" ``` ------- + mention-v2-versions + 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` + + 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\. + **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\. 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 --git a/doc_source/install-cliv2-mac.md b/doc_source/install-cliv2-mac.md index 45991b5..f4dccdf 100644 --- a/doc_source/install-cliv2-mac.md +++ b/doc_source/install-cliv2-mac.md @@ -67,6 +67,10 @@ $ sudo installer -pkg AWSCLIV2.pkg -target / $ curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" ``` + 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\. + + 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` + 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\. ``` @@ -166,6 +170,7 @@ To uninstall the AWS CLI version 2, run the following commands, substituting the 1. Delete the main installation folder\. Use `sudo` to gain write access to the `/usr/local` folder\. + ``` $ sudo rm -rf /usr/local/aws-cli - ``` \ No newline at end of file + ``` diff --git a/doc_source/install-cliv2-windows.md b/doc_source/install-cliv2-windows.md index bf3737c..131bfb2 100644 --- a/doc_source/install-cliv2-windows.md +++ b/doc_source/install-cliv2-windows.md @@ -26,6 +26,8 @@ Before you can install or update the AWS CLI version 2 on Windows, be sure you h 1. Run the downloaded MSI installer and follow the on\-screen instructions\. By default, the AWS CLI installs to `C:\Program Files\Amazon\AWSCLIV2`\. + 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` + 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\. 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 1. Select the entry named **AWS Command Line Interface**, and then choose **Uninstall** to launch the uninstaller\. -1. Confirm that you want to uninstall the AWS CLI\. \ No newline at end of file + +1. Confirm that you want to uninstall the AWS CLI\.