Cloud Storage Sync Configuration

Request Demo

How to Install CLI Windows?

Step 1: Installing Python

Install a supported version of Python from the Python Windows downloads page. During installation, choose to add Python to the PATH and/or environment variables (depending on the prompt).

Step 2: Creating and Configuring a Virtual Environment

The venv Python module is a virtual environment builder that lets you create isolated Python environments. We recommend installing the CLI in a virtual environment.

Installing and Activating your Virtual Environment.

After Python is installed, set up a virtual environment for your operating system using the following steps.

  1. Navigate to the directory in which you would like to create the virtual environment.
  2. Create the virtual environment by running the following command:
  3. python -m venv oracle-cli

  4. Activate the virtual environment by running the following command:
  5. oracle-cli/Scripts/activate

Step 3: Installing the Command Line Interface

You can download the CLI from GitHub or install the package from Python Package Index (PyPI).

To install using the GitHub download:

  • Download and
  • Run the following command.
  • pip install oci_cli-*-py2.py3-none-any.whl

To install using PyPI, run the following command:

pip install oci-cli

For information on how to start a CLI session, see Starting a CLI Session

How to Install CLI LINUX?

Linux and Unix (Including Oracle Linux 8)

  1. Open a terminal.
  2. To run the installer script, run the following command.
  3. bash -c "$(curl -L"

    Note*-To run a 'silent' install that accepts all default values with no prompts, use the--accept-all-defaults parameter.

    Oracle Linux 7

    If you're using Oracle Linux 7, you can use yum to install the CLI.

    To use yum to install the CLI:

    sudo yum install python36-oci-cli

    The CLI will be installed to the Python site packages:

    • /usr/lib/python3.6/site-packages/oci_cli
    • /usr/lib/python3.6/site-packages/services

    Documentation and examples will be installed in the/usr/share/doc/python36-oci-cli-/directory.

    To uninstall the CLI:
    sudo yum remove python36-oci-cli

About Vast Edge Simplified Cloud Solution

Vast Edge is a global Oracle gold partner, a leading NetSuite SuiteLife partner, Cloud Select, CSP, and velocity designations. Since 2004, Vast Edge has been providing cloud consulting services and has assisted 70+ customers to successfully migrate to cloud till date. Vast Edge has immense knowledge of Oracle Storage Solutions, Oracle SaaS, PaaS, and IaaS products with 100+ Trained Engineers and 40+ Oracle Certified experts to make your cloud journey smooth and successful.

Vast Edge was mentioned on Forbes by Oracle for successfully migrating customers from other clouds and on-prem to Oracle cloud and was recognized by Oracle as one of the top System Integrators at Jan 2019 Seattle event.

Vast Edge offers Small and Medium Business Discounts.

Get in touch with us

Hello! 👋 How can we help you today?