☰ Menu
Home›Command-line Tools›backplane-cli
CLI Open source 1 installs/mo

backplane-cli for Mac

backplane-cli

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

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-11-05; current version v1.1.0, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v1.1.02026-11-05Stable41.0 MBDownload—Download
v1.0.02026-09-24Stable37.8 MBDownload—Download
v0.12.12026-09-07Stable38.4 MBDownload—Download
v0.12.02026-08-25Stable38.4 MBDownload—Download
v0.11.12026-08-12Stable38.4 MBDownload—Download
v0.11.02026-07-02Stable38.4 MBDownload—Download
v0.10.22026-06-22Stable38.4 MBDownload—Download
v0.10.12026-06-10Stable38.3 MBDownload—Download
v0.10.02026-05-17Stable38.3 MBDownload—Download
v0.9.02026-05-07Stable37.1 MBDownload—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.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
backplane-cliv1.1.0Apache-2.0CLI1
empv0.13.0BSD-2-ClauseCLI1
flickcurl1.26GPL-2.0-or-later OR LGPL-2.1-or-laterCLI0
fsevents-tools1.0.0Apache-2.0CLI1

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…