Upgrading the CLI
If you installed the CLI manually, use one of the following commands to upgrade the CLI.
To upgrade a standard installation, run the following command.
pip install oci-cli --upgrade
To upgrade a standard virtualenv installation, run the following command.
cli-testing/bin/pip install oci-cli --upgrade
If you installed the CLI using the install script, use the following process to upgrade the CLI:
- Run the install script and specify the same install directory.
- When prompted, reply Y to overwrite the existing installation.