--- id: oci-cli version: "3.90.2" license: Universal Permissive License 1.0 or Apache License 2.0 license_treatment: permissive maintenance: active --- # oci-cli — Oracle Cloud Infrastructure CLI License: permissive · Maintenance: active · Downloads: 2.3M/mo ## 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 above — 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 pip install oci-cli uv add oci-cli 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_current - Install friction: low - Maintenance: active - Downloads: 2.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags oracle cloud cli, oci command line tool, cloud infrastructure management cli, oracle cloud resource provisioning, cloud infrastructure automation, oracle iaas cli, cloud service orchestration, cloud-infrastructure, oracle-cloud, cli-tool [View on SkillFed](https://skillfed.io/packages/oci-cli) · [View on PyPI](https://pypi.org/project/oci-cli/)