Uninstalling the CLI
For Manual Installations
If you manually installed the CLI using pip, run the following command:
pip uninstall oci-cli
If you manually installed the CLI in a virtualenv, run the following command:
<path/to/virtualenv>/bin/pip uninstall oci-cli
For Script Installations
If you used the install script and the default installation location, you should delete the following directories.
If you used the install script, but installed to a custom location, you should delete the directories at that location.
The script also installs Python as a dependency if it was not already installed. In Windows 10, you can uninstall Python in Control Panel or at the command line.
Using Control Panel
To uninstall Python in Control Panel, select Programs and Features. Right-click Python and select Uninstall.
For more information, see Repair or remove programs in Windows 10.
Using the Command Line
To uninstall Python at the command line, run the following command:
msiexec /x python<version>.msi
If you do not have the MSI file, you can also use the package or product code. For more information, see Using the Windows Installer.