My Oracle Support Banner

User gets an error "~/.oci/config is invalid" while installing CLI - OCI CLI (Doc ID 2763340.1)

Last updated on MAY 16, 2023

Applies to:

Oracle Cloud Infrastructure Command Line Interface - Version N/A and later
Information in this document applies to any platform.

Purpose

 This document provides guidance on how to troubleshoot the following error while installing the CLI: "~/.oci/config is invalid"

Troubleshooting Steps

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Troubleshooting Steps
 Solution
 Verification

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.