Skip to main content

Oracle Cloud Infrastructure CLI

Project description

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

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

Linux

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

Oracle Linux 7

sudo yum install python36-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'))"

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

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.

Project details


Release history Release notifications | RSS feed

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.26.0.tar.gz (12.9 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.26.0-py3-none-any.whl (37.7 MB view details)

Uploaded Python 3

File details

Details for the file oci-cli-3.26.0.tar.gz.

File metadata

  • Download URL: oci-cli-3.26.0.tar.gz
  • Upload date:
  • Size: 12.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.5

File hashes

Hashes for oci-cli-3.26.0.tar.gz
Algorithm Hash digest
SHA256 698f7c821f3997ec5e920ccc7bdfd428e0a1c2a936e7946918eddea5f0b6b2bc
MD5 0ef7401c0410dd12790d643fe1bd48b4
BLAKE2b-256 f8d4cfe6ab7cbb917f1e9e26d04bc995df9487c55fa20c980f5b5ce757c06c8f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for oci_cli-3.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 649f704c86bacc8773f489a7bc4e8587668ad3203d004c7cc6b74f457e9e203f
MD5 45a205313f5b3e0aa5868db2efd2b860
BLAKE2b-256 393fe1a20c8745fba8d6b5712a34bbad790265a826df1260536c13f9bae849bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page