Skip to main content

About

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.

Announcements

Interactive Features

OCI CLI offers interactive features to guide you through command usage.

Enabling them allows:
  • Suggestions and autocompletion to help compose commands;

  • Color-coded suggestions to distinguish required parameters from optional parameters; and

  • Quick references display alongside suggestions to recognize command and parameter purposes.

Try the interactive features anytime with the -i option:

oci -i
Alternative text

Read more on OCI Documentation.

Container Image

OCI CLI is now available as container images.

With a standards-compliant container runtime engine, pull and run the latest version of oci-cli from the GitHub Container Registry.

Read about setup requirements and instructions on Working with the OCI CLI Container Image.

Find previous image versions on our package page.

Installation

Mac OS X

brew install oci-cli

OCI Command Line Interface Installation and Configuration on Mac Instance

Linux

bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"

OCI Command Line Interface Installation and Configuration on Linux Instance

Oracle Linux 7

sudo yum install python36-oci-cli

Fedora Linux

sudo dnf install oci-cli

Windows

powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.ps1'))"

OCI Command Line Interface Installation and Configuration on Windows Instance

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

    On Linux:

    bash install.sh --offline-install

    On Windows:

    install.ps1 -OfflineInstall

OCI Command Line Interface (CLI) Installation on an Offline Linux Instance

OCI Command Line Interface (CLI) Installation on an Offline Windows Instance

Usage

To get help with the command line:

oci --help

or

oci -h

To enable interactive features for usage guidance:

oci -i

Examples

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

Documentation

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

Help

See the “Questions or Feedback?” section here.

Changes

See CHANGELOG.

Contributing

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.

License

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.

Download files

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

Source Distribution

oci_cli-3.91.0.tar.gz (8.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oci_cli-3.91.0-py3-none-any.whl (27.8 MB view details)

Uploaded Python 3

File details

Details for the file oci_cli-3.91.0.tar.gz.

File metadata

  • Download URL: oci_cli-3.91.0.tar.gz
  • Upload date:
  • Size: 8.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/28.8.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.5

File hashes

Hashes for oci_cli-3.91.0.tar.gz
Algorithm Hash digest
SHA256 fe8c8821702cfaee04805822448bbdb8210221cb977a425b2caf05063a4a00e0
MD5 dd40cd6146f0a36799636c7ce4df3baf
BLAKE2b-256 2ba504a71d44a949ba12e000e1897f68e7d9fc634d18e666c3cd6ecc24241441

See more details on using hashes here.

File details

Details for the file oci_cli-3.91.0-py3-none-any.whl.

File metadata

  • Download URL: oci_cli-3.91.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/28.8.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.5

File hashes

Hashes for oci_cli-3.91.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd096e518430f4722ce45c81a9aec1118036964be1e96526a4c8d2277d016009
MD5 8c744b5f7f7f54d4394d615fa2e19e65
BLAKE2b-256 43fd8d69214470c3de489ce6395d178ee75d1345da2b8b13eca7aa1e74cca269

See more details on using hashes here.

Release history Release notifications | RSS feed

3.92.0

2 files

This release

3.91.0 This release

2 files

3.90.3

2 files

3.90.2

2 files

3.90.1

2 files

3.90.0

2 files

3.89.3

2 files

3.89.2

2 files

3.89.1

2 files

3.89.0

2 files

3.88.0

2 files

3.87.0

2 files

3.86.0

2 files

3.85.0

2 files

3.84.0

2 files

3.83.0

2 files

3.82.0

2 files

3.81.1

2 files

3.81.0

2 files

3.80.0

2 files

3.79.0

2 files

3.78.0

2 files

3.77.0

2 files

3.76.2

2 files

3.76.1

2 files

3.76.0

2 files

3.75.0

2 files

3.74.2

2 files

3.74.1

2 files

3.74.0

2 files

3.73.2

2 files

3.73.1

2 files

3.72.1

2 files

3.72.0

2 files

3.71.4

2 files

3.71.3

2 files

3.71.2

2 files

3.71.1

2 files

3.71.0

2 files

3.70.1

2 files

3.70.0

2 files

3.69.0

2 files

3.68.1

2 files

3.68.0

2 files

3.67.0

2 files

3.66.2

2 files

3.66.1

2 files

3.66.0

2 files

3.65.1

2 files

3.65.0

2 files

3.64.1

2 files

3.64.0

2 files

3.63.3

2 files

3.63.2

2 files

3.63.0

2 files

3.62.2

2 files

3.62.1

2 files

3.62.0

2 files

3.61.0

2 files

3.59.0

2 files

3.58.1

2 files

3.58.0

2 files

3.57.0

2 files

3.56.1

2 files

3.56.0

1 file

3.55.0

1 file

3.54.5

2 files

3.54.4

2 files

3.54.3

2 files

3.54.2

2 files

3.54.1

2 files

3.54.0

2 files

3.53.0

2 files

3.52.1

2 files

3.52.0

2 files

3.51.9

2 files

3.51.8

2 files

3.51.7

2 files

3.51.6

2 files

3.51.5

2 files

3.51.4

2 files

3.51.2

2 files

3.51.1

2 files

3.51.0

2 files

3.50.3

2 files

3.50.2

2 files

3.50.1

2 files

3.50.0

2 files

3.49.4

2 files

3.49.3

2 files

3.49.2

2 files

3.49.1

2 files

3.49.0

2 files

3.48.2

2 files

3.48.1

2 files

3.48.0

2 files

3.47.0

2 files

3.46.0

2 files

3.45.2

2 files

3.45.1

2 files

3.45.0

2 files

3.44.4

2 files

3.44.3

2 files

3.44.2

2 files

3.44.1

2 files

3.44.0

2 files

3.43.2

2 files

3.43.1

2 files

3.43.0

2 files

3.42.0

2 files

3.41.0

2 files

3.40.3

2 files

3.40.2

2 files

3.40.1

2 files

3.40.0

2 files

3.39.1

2 files

3.39.0

2 files

3.38.1

2 files

3.38.0

2 files

3.37.14

2 files

3.37.13

2 files

3.37.12

2 files

3.37.11

2 files

3.37.10

2 files

3.37.9

2 files

3.37.8

2 files

3.37.7

2 files

3.37.6

2 files

3.37.5

2 files

3.37.4

2 files

3.37.3

2 files

3.37.2

2 files

3.37.1

2 files

3.37.0

2 files

3.36.2

2 files

3.36.1

2 files

3.36.0

2 files

3.35.0

2 files

3.34.0

2 files

3.33.4

2 files

3.33.3

2 files

3.33.2

2 files

3.33.1

2 files

3.33.0

2 files

3.32.0

2 files

3.31.1

2 files

3.31.0

2 files

3.30.2

2 files

3.30.1

2 files

3.30.0

2 files

3.29.4

2 files

3.29.3

2 files

3.29.2

2 files

3.29.1

2 files

3.29.0

2 files

3.28.2

2 files

3.28.1

2 files

3.28.0

2 files

3.27.1

2 files

3.27.0

2 files

3.26.0

2 files

3.25.4

2 files

3.25.3

2 files

3.25.2

2 files

3.25.1

2 files

3.25.0

2 files

3.24.0

2 files

3.23.4

2 files

3.23.3

2 files

3.23.2

2 files

3.23.1

2 files

3.23.0

2 files

3.22.5

2 files

3.22.4

2 files

3.22.3

2 files

3.22.2

2 files

3.22.1

2 files

3.22.0

2 files

3.21.0

2 files

3.20.3

2 files

3.20.2

2 files

3.20.1

2 files

3.20.0

2 files

3.19.0

2 files

3.18.1

2 files

3.18.0

2 files

3.17.0

2 files

3.16.1

2 files

3.16.0

2 files

3.15.2

2 files

3.15.1

2 files

3.15.0

2 files

3.14.0

2 files

3.13.0

2 files

3.12.0

2 files

3.11.1

2 files

3.11.0

2 files

3.10.5

2 files

3.10.4

2 files

3.10.3

2 files

3.10.2

2 files

3.10.1

2 files

3.10.0

2 files

3.9.1

2 files

3.9.0

2 files

3.8.1

2 files

3.8.0

2 files

3.7.3

2 files

3.7.2

2 files

3.7.1

2 files

3.7.0

2 files

3.6.2

2 files

3.6.1

2 files

3.6.0

2 files

3.5.3

2 files

3.5.2

2 files

3.5.1

2 files

3.5.0

2 files

3.4.5

2 files

3.4.4

2 files

3.4.3

2 files

3.4.2

2 files

3.4.1

2 files

3.4.0

2 files

3.3.3

2 files

3.3.2

2 files

3.3.1

2 files

3.3.0

2 files

3.2.2

2 files

3.2.1

2 files

3.2.0

2 files

3.1.2

2 files

3.1.1

2 files

3.1.0

2 files

3.0.5

2 files

3.0.4

2 files

3.0.3

2 files

3.0.2

2 files

3.0.1

2 files

3.0.0

2 files

2.26.4

2 files

2.26.3

2 files

2.26.2

2 files

2.26.1

2 files

2.26.0

2 files

2.25.4

2 files

2.25.3

2 files

2.25.2

2 files

2.25.1

2 files

2.25.0

2 files

2.24.5

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page