oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

No such command error in v3.71.0

Open maksym-dilanian opened this issue 2 months ago • 7 comments

Steps to reproduce

  1. Install oci-cli version 3.71.0 (latest) with winget:
winget install --id Oracle.OCI-CLI --version 3.71.0
  1. List CE clusters
oci ce cluster list --compartment-id <COMPARTMENT_ID> --auth security_token

Expected result

JSON object with CE clusters.

Actual result

An error:

Usage: oci.exe [OPTIONS] COMMAND [ARGS]...

Error: No such command 'ce'.

System information

OS: Windows 11 (Version 25H2, build 26200.7171) PowerShell: v7.5.4

Workaround

Downgrading to 3.70.1, which is not affected.

maksym-dilanian avatar Dec 01 '25 15:12 maksym-dilanian

Hi @maksym-dilanian ,

The OCI CLI package currently available via WinGet is not officially maintained by Oracle. Please use the official installation methods for installing oci-cli provided by Oracle.

References - https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm#InstallingCLI__windows https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/climanualinst.htm

pip install oci-cli==3.71.0

pankajmjx avatar Dec 02 '25 05:12 pankajmjx

I have the same problem with the msi package 3.71.0 from the github repo releases page.

jozefhornik avatar Dec 02 '25 15:12 jozefhornik

Just downloaded 3.71.0 through GH Releases page and got the same error:

Error: No such command 'ce'.

vassourita avatar Dec 04 '25 17:12 vassourita

@vassourita Can you share the exact steps used for installing CLI from github? Did you used pip method?

pankajmjx avatar Dec 05 '25 05:12 pankajmjx

@pankajmjx I have got the same. Using the link you referenced and then following the guide to download the msi from the github page. Once installed, tried running the "oci ce ..." and it mentions "Error: No such command 'ce'." This was in a Powershell window.

Image

matthewgarde avatar Dec 05 '25 15:12 matthewgarde

I simply downloaded oci-cli from the page: https://github.com/oracle/oci-cli/releases

Image

But it does not work.

Image

Previous version 3.70.1 is working properly.

jozefhornik avatar Dec 08 '25 08:12 jozefhornik

Hi everyone, We are working on resolving issues in the latest MSI release. Please downgrade to version 3.70.1 or lower to unblock yourself.

pankajmjx avatar Dec 08 '25 14:12 pankajmjx

This has been resolved in the later versions of CLI. Closing this

karthik-k-kamath avatar Dec 18 '25 17:12 karthik-k-kamath