Skip to main content

Oracle Cloud Infrastructure CLI

Project description


This is the command line interface for Oracle Cloud Infrastructure.

The project is open source and maintained by Oracle Corp. The home page for the project is here.


Mac OS X

brew install oci-cli


bash -c "$(curl -L"

Oracle Linux 7

sudo yum install python36-oci-cli


powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(''))"

See the installation guide for detailed installation instructions, options and troubleshooting.

Offline Installation

  1. Go to the CLI releases page and locate the required CLI version.
  2. For the release, go to the “Assets” area.
  3. Download and copy the zip file for your Operating System to the environment where you want to install CLI.
  4. Unzip the file and execute the following from inside the unzipped folder:
  1. Linux:
    bash --offline-install
  2. Windows
    install.ps1 -OfflineInstall


To get help with the command line:

oci --help


oci -h


Examples can be found here under the section ‘Example Commands’.


Detailed documentation for CLI prerequisites, installation and configuration, and troubleshooting can be found here.


See the “Questions or Feedback?” section here.




oci-cli is an open source project. See CONTRIBUTING for details.

Oracle gratefully acknowledges the contributions to oci-cli that have been made by the community.

Known Issues

You can find information on any known issues with the CLI here, here and under the “Issues” tab of this project’s GitHub repository.


Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.

This SDK and sample is dual licensed under the Universal Permissive License 1.0 and the Apache License 2.0.

See LICENSE for more details.

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for oci-cli, version 3.3.2
Filename, size File type Python version Upload date Hashes
Filename, size oci_cli-3.3.2-py3-none-any.whl (23.4 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size oci-cli-3.3.2.tar.gz (7.9 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page