2 Setup
Here’s what you need to do to set up the CLI on your system:
-
Install Node.js on your system.
-
Download the CLI from the Oracle Technology Network site.
-
Install the CLI:
npm install -g <PATH_TO_CLI>oracle-omce-cli-1.0.0.tgz
-
Get the instance’s details and credentials from the service’s UI by clicking
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