OS Manuals

/usr/bin/ocm

Open Component Model (OCM) command-line interface for managing component versions

From ocm-cli 0.7.0-r16 (enterprise-packages), captured 2026-11-08 by running ocm --help (exit 0). permalink

Also provided by 1 other package version
The Open Component Model command line client supports the work with OCM
  artifacts, like Component Archives, Common Transport Archive,
  Component Repositories, and Component Versions.

Usage:
  ocm [sub-command] [flags]
  ocm [command]

Available Commands:
  add         Add anything to OCM
  completion  Generate the autocompletion script for the specified shell
  describe    Describe OCM entities or metadata
  download    Download anything from OCM
  generate    Generate documentation for the OCM CLI
  get         Get anything from OCM
  help        Help about any command
  plugin      Manage OCM plugins
  sign        create signatures for component versions in OCM
  transfer    Transfer anything in OCM
  verify      verify digests and signatures of component versions in OCM
  version     Retrieve the build version of the OCM CLI

Flags:
      --config string                      supply configuration by a given configuration file.
                                           By default (without specifying custom locations with this flag), the file will be read from one of the well known locations:
                                           1. The path specified in the OCM_CONFIG environment variable
                                           2. The XDG_CONFIG_HOME directory (if set), or the default XDG home ($HOME/.config), or the user's home directory
                                           - $XDG_CONFIG_HOME/ocm/config
                                           - $XDG_CONFIG_HOME/.ocmconfig
                                           - $HOME/.config/ocm/config
                                           - $HOME/.config/.ocmconfig
                                           - $HOME/.ocm/config
                                           - $HOME/.ocmconfig
                                           3. The current working directory:
                                           - $PWD/ocm/config
                                           - $PWD/.ocmconfig
                                           4. The directory of the current executable:
                                           - $EXE_DIR/ocm/config
                                           - $EXE_DIR/.ocmconfig
                                           If multiple configuration files are found, they will be merged in the order they are discovered.
                                           Using the option, this configuration file be used instead of the lookup above.
  -h, --help                               help for ocm
      --logformat enum                     set the log output format that is used to print individual logs
                                              json: Output logs in JSON format, suitable for machine processing
                                              text: Output logs in human-readable text format, suitable for console output
                                           (must be one of [json text]) (default text)
      --loglevel enum                      sets the logging level
                                              debug: Show all logs including detailed debugging information
                                              info:  Show informational messages and above
                                              warn:  Show warnings and errors only (default)
                                              error: Show errors only
                                           (must be one of [debug error info warn]) (default info)
      --logoutput enum                     set the log output destination
                                              stdout: Write logs to standard output
                                              stderr: Write logs to standard error, useful for separating logs from normal output
                                           (must be one of [stderr stdout]) (default stderr)
      --plugin-directory string            default directory path for ocm plugins. (default "$HOME/.config/ocm/plugins")
      --plugin-shutdown-timeout duration   Timeout for plugin shutdown. If a plugin does not shut down within this time, it is forcefully killed (default 10s)
      --temp-folder string                 Specify a custom temporary folder path for filesystem operations.
      --working-directory string           Specify a custom working directory path to load resources from.

Use "ocm [command] --help" for more information about a command.
Options (9)
OptionDescriptionSource
--config stringsupply configuration by a given configuration file.help
-h, --helphelp for ocmhelp
--logformat enumset the log output format that is used to print individual logs json: Output logs in JSON format, suitable for machine processing text: Output logs in human-readable text format, suitable for console…help
--loglevel enumsets the logging level debug: Show all logs including detailed debugging information info: Show informational messages and above warn: Show warnings and errors only (default) error: Show errors only…help
--logoutput enumset the log output destination stdout: Write logs to standard output stderr: Write logs to standard error, useful for separating logs from normal output (must be one of [stderr stdout]) (default…help
--plugin-directory stringdefault directory path for ocm plugins.help
--plugin-shutdown-timeout durationTimeout for plugin shutdown.help
--temp-folder stringSpecify a custom temporary folder path for filesystem operations.help
--working-directory stringSpecify a custom working directory path to load resources from.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.