Credential access
Reads OCI config, API keys, tenancy data, and environment credentials.
brew
Oracle Cloud Infrastructure CLI. Version 3.89.0 via Homebrew; verified 2026-07-01.
agent safety
oci-cli controls Oracle Cloud resources and account state.
Reads OCI config, API keys, tenancy data, and environment credentials.
Can create, delete, or modify Oracle Cloud resources.
Can upload artifacts and deploy infrastructure changes.
Gate mutating oci commands and credential file access.
Allow read-only listing; require approval for writes, deletes, and credential changes.
install
brew install oci-clilocal Homebrew formula metadata
sudo port install oci-cliMacPorts ports tree · net/oci-cli/Portfile · source: api.github.com
sudo apk add oci-cliAlpine Linux edge package indexes · oci-cli · source: dl-cdn.alpinelinux.org
sudo dnf install oci-cliFedora Rawhide package metadata · oci-cli · source: dl.fedoraproject.org
nix profile install nixpkgs#oci-clinixpkgs package indexes · pkgs/by-name/oc/oci-cli/package.nix · source: api.github.com
sudo zypper install oci-cliopenSUSE Tumbleweed package metadata · oci-cli · source: download.opensuse.org
scoop install main/oci-cliScoop official bucket manifest trees · bucket/oci-cli.json · source: api.github.com
overview
Oracle Cloud Infrastructure CLI
history
OCI CLI is Oracle's open source command-line interface for Oracle Cloud Infrastructure. It gives operators and developers a scriptable interface to OCI objects and services, covering the same core administrative surface as the web Console while adding command-line workflows such as automation and batch execution.
The upstream project is maintained by Oracle and distributed from the oracle/oci-cli repository. The README identifies it as the command-line interface for Oracle Cloud Infrastructure, with Oracle as maintainer and community contributions accepted through the public repository.
The README copyright line covers 2016 and 2019, matching OCI CLI's role as part of Oracle's post-Oracle Cloud Infrastructure tooling generation. Later project evolution is visible in the repository's changelog and release stream, while Oracle documentation remains the canonical user-facing reference for installation, configuration, troubleshooting, and command documentation.
The project expanded beyond a basic noninteractive command runner with interactive mode, shell guidance, suggestions, color-coded required and optional parameters, quick references, offline installation assets, and a container image published through GitHub Container Registry.
OCI CLI became a standard cross-platform entry point for OCI automation because Oracle documents installation paths for macOS, Linux, Oracle Linux, Fedora, and Windows, and because Homebrew packages it as `oci-cli` with the `oci` executable.
Homebrew's formula API generated on 2026-07-01 reports 40,195 installs over 365 days and 11,792 installs over 90 days, showing sustained package-manager use outside Oracle's own installers. The same API lists binary bottles for macOS and Linux variants, making the package available to both workstation and automation environments.
Users configure OCI credentials and profiles, then run `oci` commands to inspect and manage cloud resources. Oracle's documentation frames the tool as usable on its own or alongside the Console, and the README points users to example commands, help output, interactive mode, and troubleshooting documentation.
The package matters operationally because cloud teams can place OCI actions in shell scripts, CI jobs, recovery procedures, and offline administrative environments. The container image path adds a reproducible way to run the CLI where installing Python dependencies directly is inconvenient.
For package cataloging, OCI CLI is a large vendor cloud CLI with its own release cadence, Python packaging lineage, OS-specific installers, Homebrew bottles, and a container distribution channel. It is also a useful example of a cloud provider CLI that straddles package managers, language packaging, and official documentation.
security posture
infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.oci/config$Env:UserProfile\.oci\configCredential-bearing paths to review before unattended agent runs.
~/.oci/oci_api_key.pem%HOMEDRIVE%%HOMEPATH%\.oci\oci_api_key.pemexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
create_backup_from_onprem | cli | global executable | |
oci | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm
install metadata
| Package key | brew:oci-cli |
|---|---|
| Version | 3.89.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/oci-cli |
| Homepage | https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm |
| Repository | https://github.com/oracle/oci-cli |
| Upstream docs | https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm |
| License | UPL-1.0 OR Apache-2.0 |
| Source archive | https://files.pythonhosted.org/packages/ba/36/935d19fd65be951730a74ad85a5d3ada84950606433b4e5a91da6e653a98/oci_cli-3.89.0.tar.gz |
| Last updated | 2026-07-01T13:20:46Z |
| Pulse | updated |
| Dependencies | certifi, cryptography, libyaml, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oci-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
oci-cli
nix profile install nixpkgs#oci-clioci-cli 3.77.0-r0
Oracle Cloud Infrastructure CLI
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm
sudo apk add oci-clioci-cli-pyc 3.77.0-r0
Precompiled Python bytecode for oci-cli
https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm
sudo apk add oci-cli-pycoci-cli 3.85.0-2.fc45
Command Line Interface for Oracle Cloud Infrastructure
https://github.com/oracle/oci-cli
sudo dnf install oci-clioci-cli 3.83.0-1.1
Oracle Cloud Infrastructure CLI
https://docs.us-phoenix-1.oraclecloud.com/Content/API/SDKDocs/cli.htm
sudo zypper install oci-clioci-cli
sudo port install oci-climain/oci-cli
scoop install main/oci-clisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.