backplane-cli for Mac
backplane-cli is a CLI tool to interact with backplane api.
backplane-cli — overview
backplane-cli is a CLI tool to interact with backplane api.
Installation
Go should be installed in your local system. We recommend using the latest stable Go version. For the minimum required version, see the go directive in go.mod
MacOS
Download from release
Download the latest binary from the GitHub releases page.
For example, to download the binary on Linux:
Build from source
First clone the repository somewhere in your $PATH. A common place would be within your $GOPATH.
Example:
This command will build the backplane-cli binary, named ocm-backplane. This binary will be placed in $PATH. As the binary has prefix ocm-, it becomes a plugin of ocm, and can be invoked by ocm backplane.
For more information about ocm plugins, please refer https://github.com/openshift-online/ocm-cli#extend-ocm-with-plugins
Configuration
The configuration file of backplane-cli is expected to be located at $HOME/.config/backplane/config.json.
Security Note: This configuration file may store sensitive information such as PagerDuty API keys or JIRA tokens. It is recommended to ensure its permissions are restrictive (e.g., chmod 600 $HOME/.config/backplane/config.json) to protect this data.
JIRA Token Configuration: The JIRA token can be configured in two ways: Via the JIRA_API_TOKEN environment variable (takes precedence) In the config file using ocm backplane config set jira-token (used as fallback if environment variable is not set)
Setup bash/zsh prompt
To setup the PS1(prompt) for bash/zsh, please follow these instructions.
Usage
Login
Example
In this example, we will login to a cluster with id 123456abcdef in production environment, and we have the OCM client environment setup like this. Run backplane login in another terminal. Run oc command to access the target cluster. To login to the Management cluster for HyperShift (or) the managing Hive shard of normal OSD/ROSA cluster To login to the Service Cluster of a HyperShift hosted cluster or the Management Cluster To login with read-only access to the cluster
The --readonly flag restricts access to read-only operations, preventing any modifications to the cluster. This is useful for: Auditing and troubleshooting without risk of making changes Providing temporary access with limited privileges Ensuring compliance with read-only access policies
Get cluster information after login Login to the target cluster via backplane and add --cluster-info flag Set a "display-cluster-info": true flag in the backplane config for cluster info to be auto printed. Note: "display-cluster-info": true has to be set as a boolean value.
Login to multiple clusters
Logging into multiple clusters via different terminal instances. How to log into the first cluster
you can also directly run How to log into the second cluster
Login through PagerDuty incident link or ID Generate a User Token REST API Key and save it into backplane config file.
Details
用于与 OpenShift Backplane API 交互的 CLI
How to install backplane-cli
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-11-05; current version v1.1.0, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v1.1.0 | 2026-11-05 | Stable | 41.0 MB | Download | — | Download |
| v1.0.0 | 2026-09-24 | Stable | 37.8 MB | Download | — | Download |
| v0.12.1 | 2026-09-07 | Stable | 38.4 MB | Download | — | Download |
| v0.12.0 | 2026-08-25 | Stable | 38.4 MB | Download | — | Download |
| v0.11.1 | 2026-08-12 | Stable | 38.4 MB | Download | — | Download |
| v0.11.0 | 2026-07-02 | Stable | 38.4 MB | Download | — | Download |
| v0.10.2 | 2026-06-22 | Stable | 38.4 MB | Download | — | Download |
| v0.10.1 | 2026-06-10 | Stable | 38.3 MB | Download | — | Download |
| v0.10.0 | 2026-05-17 | Stable | 38.3 MB | Download | — | Download |
| v0.9.0 | 2026-05-07 | Stable | 37.1 MB | Download | — | Download |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Prebuilt bottle platforms
Official Homebrew bottles cover:
- Apple silicon · latest macOS
- Apple silicon · macOS 26 Tahoe
- Apple silicon · macOS 15 Sequoia
- Linux · ARM64
- Linux · x86_64
⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| backplane-cli | v1.1.0 | Apache-2.0 | CLI | 1 |
| emp | v0.13.0 | BSD-2-Clause | CLI | 1 |
| flickcurl | 1.26 | GPL-2.0-or-later OR LGPL-2.1-or-later | CLI | 0 |
| fsevents-tools | 1.0.0 | Apache-2.0 | CLI | 1 |
Similar apps: Command-line Tools
emp
Empire is a control layer on top of Amazon EC2 Container Service (ECS) that provides a Heroku…flickcurl
flickcurl is a C library for the Flickr API that also provides a command-line tool, making it…fsevents-tools
fsevents-tools is a set of command-line tools for macOS built around the system's native…glbinding
C++ binding for the OpenGL APIip2location
IP2Location is a C library that enables the user to find the country, region or state…openssl@4
Cryptography and SSL/TLS ToolkitCategories: Command-line Tools