<p>I'm running an OpenShift cluster and am trying to figure out what version of OLM in installed in it. I'm considering an upgrade, but would like more details.</p>

<p>How can I find the version?</p>

<p><strong>From the CLI:</strong></p>

<p>You can change kubectl for oc since you are using OpenShift.</p>

<p>First find the name of an olm-operator pod. I'm assuming Operator Lifecycle Manager is installed in the olm namespace, but it might be "operator-lifecycle-manager".</p>

<pre><code>kubectl get pods -n olm |grep olm-operator
</code></pre>

<p>Then run a command on that pod like this:</p>

<pre><code>kubectl exec -n olm &lt;POD_NAME&gt; -- olm --version
</code></pre>

<p><strong>From the Console:</strong></p>

<p>Navigate to the namespace and find an olm-operator pod. Open the "Terminal" tap and run <code>olm --version</code>.</p>

<p>In either case, the output should be something like this:</p>

<pre><code>OLM version: 0.12.0
git commit: a611449366805935939777d0182a86ba43b26cbd
</code></pre>
