Installing the OCM CLI

Using Binaries

To install the OCM CLI you can download binaries for the major platforms from the GitHub releases page.


You can also install via homebrew for macOS and Linux:

brew install open-component-model/tap/ocm


To install with bash for macOS or Linux execute the following command:

curl -s | sudo bash

Building from source


  • git
  • make
  • golang

Installation Process

Clone the open-component-model/ocm repo:

git clone

Enter the repository directory (cd ocm/) and install the cli using make:

make install

Please note that the OCM CLI is installed in your go/bin directory, so you might need to add this directory to your PATH.

Verify the installation:

ocm version