Next: , Up: Installing the CLI   [Index]

CLI Version 2

AWS CLI version 2 is provided as a preview for testing and evaluation. At this time, we do not recommend using it in a production environment. For production environments, we recommend that you use the generally available version 1.x.

AWS CLI version 2 is the most recent major version of the AWS CLI and supports all of the latest features. Some features introduced in version 2 are not backward compatible with version 1 and you must upgrade to access those features.

AWS CLI version 2 is available to install only as a bundled installer. Although you might find it in some package managers, these are not produced or managed by AWS and are therefore not official and not supported by AWS. We recommend that you install the AWS CLI from only the official AWS distribution points, as documented in this guide.

For AWS CLI version 2, it doesn’t matter if you have Python installed and if you do, it doesn’t matter which version. AWS CLI version 2 uses only the version of Python (and all other dependencies) that are included and installed into a local virtual environment that is isolated.

Next: , Up: Installing the CLI   [Index]