Skip to content
Commitpedia
Log in Join & edit

OCI CLI: Oracle Cloud Infrastructure command-line interface

Oracle's open-source command-line tool for Oracle Cloud Infrastructure. Private Cloud Appliance 3.x uses the same CLI for its OCI-compatible Compute Enclave.

Edit history of OCI CLI: Oracle Cloud Infrastructure command-line interface: 1 recorded edit
Edit history · 1 edit
Type
Repo
Edits
1
Editors
1
First issued
15 Oct 2026
Last edit
15 Oct 2026
Source
oracle/oci-cli

oracle/oci-cli

Stars
673
Forks
236
Language
Python
Licence
NOASSERTION
Last push
13 Oct 2026

On GitHub: Command Line Interface for Oracle Cloud Infrastructure

Open on GitHub

The OCI CLI (oci) is a Python tool for managing Oracle Cloud Infrastructure resources from a terminal: compute instances, networks, block volumes, IAM and more. Commands follow the pattern oci <service> <resource> <action>, for example oci compute instance list.

The repository holds the source code and the install scripts (scripts/install/install.sh and install.ps1) that Oracle’s Private Cloud Appliance 3.x User Guide links to. On PCA, the same CLI talks to the appliance’s Compute Enclave once ~/.oci/config uses the appliance as its region and oci_cli_rc points to the appliance CA bundle.

It is also available through package managers, for example Homebrew (brew install oci-cli) and Oracle Linux packages. Not every OCI service exists on PCA, so check the PCA documentation for which commands apply to your appliance release.

See also

  • 0116 PCA 3.x Compute Enclave concepts: tenancies, compartments, VCNs, instances, images and shapes The PCA 3.x Compute Enclave uses OCI building blocks: a tenancy holds compartments, which hold networks, instances and storage. Instances are built… Beginner · Concept · Linux Article Architecture & concepts · Compute, networking & storage 15 Oct 2026
  • 0117 Configure the OCI CLI for Oracle Private Cloud Appliance 3.x Point the standard OCI CLI at a PCA 3.x Compute Enclave: create an API key, write ~/.oci/config with the appliance as the… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026
  • 0118 Create a compute instance on PCA 3.x with the Compute Web UI or OCI CLI Launch a VM in the Private Cloud Appliance 3.x Compute Enclave: gather an image, shape, subnet and SSH key, then create the… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026
  • 0119 PCA 3.x networking basics: create a VCN, subnets and security lists On Private Cloud Appliance 3.x, instances need a VCN and a subnet. Create them in the Compute Web UI or OCI CLI… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026
  • 0120 Block volumes on PCA 3.x: create, attach and mount a data disk Add storage to a Private Cloud Appliance 3.x instance: create a block volume, attach it as paravirtualized, then format and mount it… Intermediate · How-to · Any system Article Compute, networking & storage 15 Oct 2026

History

Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.

  1. commitpedia-admin +857 chars

Report a problem

Something wrong, unsafe or copied? Tell the editors.
What is wrong?