skillfed

oci-cli

Oracle Cloud Infrastructure CLI

oci-cli v3.90.2 2.3M downloads/30d#3,175 on PyPI
Permissive license Universal Permissive License 1.0 or Apache License 2.0 Active released

What it is and what it does

oci-cli is the official command-line interface for Oracle Cloud Infrastructure, maintained by Oracle Corp. It lets you manage OCI resources—compute instances, storage, networking, databases, and more—directly from the terminal. The package installs as a Python CLI tool with 14 runtime dependencies including cryptography, PyYAML, click, and prompt-toolkit to handle authentication, configuration parsing, and interactive command guidance.

The CLI supports interactive mode (via the -i flag) that provides command suggestions, parameter autocompletion, and color-coded guidance to distinguish required from optional parameters. It's designed for developers and operators who need to automate cloud infrastructure tasks, configure services, or integrate OCI management into scripts and CI/CD pipelines. The tool is production-stable and actively maintained.

Use it for:

  • Automate Oracle Cloud Infrastructure provisioning and configuration in deployment scripts or CI/CD pipelines
  • Interactively manage compute instances, storage buckets, and networking resources from the command line
  • Query and monitor cloud resources using JMESPath filtering (jmespath dependency) for reporting or auditing
  • Configure and troubleshoot OCI services without leaving the terminal or using the web console
  • Integrate OCI resource management into shell scripts for infrastructure-as-code workflows

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Command-line interface for managing Oracle Cloud Infrastructure resources, providing interactive commands to create, configure, and monitor cloud services.

Yes, if you use Oracle Cloud Infrastructure. It is actively maintained, has no known vulnerabilities, supports modern Python versions (3.6–3.13), and installs with low friction. The permissive dual license poses no restrictions. Install it as the standard tool for OCI CLI operations.

Install

oci-cli on PyPI

pip

pip install oci-cli

uv

uv add oci-cli

poetry

poetry add oci-cli

Installing oci-cli

Before you install

Low install friction with a pure Python wheel distribution. Actively maintained with a release 3 days old. Supports Python 3.6 through 3.13.

License in practice

Dual-licensed under Universal Permissive License 1.0 and Apache License 2.0, both permissive licenses with minimal restrictions on use or redistribution.

Quickstart

pip install oci-cli
oci --help
oci -i

Requires Oracle Cloud Infrastructure account credentials configured locally (typically via ~/.oci/config file with API key or session token).

Verify before relying

  • Whether interactive mode features (-i flag) require additional system dependencies beyond the listed runtime packages
  • Performance characteristics or resource overhead when managing large numbers of cloud resources
  • Specific Oracle Cloud account setup or authentication requirements beyond standard CLI configuration

Package facts

License Universal Permissive License 1.0 or Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 14 — oci, arrow, certifi, cryptography, jmespath, python-dateutil, pytz, six, terminaltables, pyOpenSSL, PyYAML, click, prompt-toolkit, setuptools
Maintenance actively maintained — 3 days since the last release
First released
Downloads 2,275,253/month — #3,175 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: oci_cli-3.90.2-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: Universal Permissive License (UPL)Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

oracle cloud clioci command line toolcloud infrastructure management clioracle cloud resource provisioningcloud infrastructure automationoracle iaas clicloud service orchestration
cloud-infrastructureoracle-cloudcli-tool

More Utilities packages