When using the OM and BOSH CLI, you may want to validate what versions of Ops Manager and BOSH Director are in use in the environment. This article will outline how to confirm these.
The OM CLI can be found here:
https://github.com/pivotal-cf/om
The BOSH CLI can be accessed from the Ops Manager VM. It can also be downloaded here:
Ops Manager
Information on setting up environment variables for the OM CLI can be found here.
For validating the Ops Manager version, you can use the command:
om -e env.yml curl -p /api/v0/info | grep version
For getting the BOSH Director version, run:
bosh env
Using environment 'xxx' as client 'ops_manager'
Name p-bosh
UUID <UUID>
Version 282.1.0 (00000000)