2 Setup

Here’s what you need to do to set up the CLI on your system:

  1. Install Node.js on your system.

  2. Download the CLI from the Oracle Technology Network site.

  3. Install the CLI:

    npm install -g <PATH_TO_CLI>oracle-omce-cli-1.0.0.tgz
  4. Get the instance’s details and credentials from the service’s UI by clicking icon to open the side menu to open the side menu, selecting Development, and then clicking the Instance Details link.

Logging In

First you declare the instance, where <environment_alias> is a name of your choosing to refer to the instance in subsequent commands:

omce env:add   <environment_alias> \
 --base-url "<BASE_URL>" \
  --token-endpoint "<TOKEN_ENDPOINT>" \
  --client <CLIENT_ID> \
  --secret <CLIENT_SECRET>

Then you log in:

omce env:login