Installing the opm CLI¶
About the opm CLI¶
The opm CLI is an Operator Framework tool for creating and maintaining Operator catalogs from bundle images in OpenShift Container Platform. You can use it to build catalog container images that Operator Lifecycle Manager (OLM) references through catalog sources.
A catalog contains a database of pointers to Operator manifest content that can be queried through an included API that is served when the container image is run. On OpenShift Container Platform, Operator Lifecycle Manager (OLM) can reference the image in a catalog source, defined by a CatalogSource object, which polls the image at regular intervals to enable frequent updates to installed Operators on the cluster.
Additional resources
- See Operator Framework packaging format for more information about the bundle format.
Installing the opm CLI¶
You can install the opm CLI tool on your Linux, macOS, or Windows workstation.
Prerequisites
-
For Red Hat Enterprise Linux (RHEL) 9.0 and later, you must provide the following packages:
podmanversion 1.9.3+ (version 2.0+ recommended)glibcversion 2.28+
Procedure
-
Navigate to the OpenShift mirror site and download the latest version of the tarball that matches your operating system.
-
Unpack the archive.
-
For Linux or macOS:
-
For Windows, unzip the archive with a ZIP program.
-
-
Place the file anywhere in your
PATH.-
For Linux or macOS:
-
Check your
PATH: -
Move the file. For example:
-
-
For Windows:
-
Check your
PATH: -
Move the file:
-
-
Verification
-
After you install the
opmCLI, verify that it is available:
Additional resources
- See Managing custom catalogs for
opmprocedures including creating, updating, and pruning catalogs.