# Install osdctl with Homebrew

CLI tool for managed OpenShift clusters. Version 0.61.0 via Homebrew; verified 2026-06-26.

## Install

```sh
sudo av install brew:osdctl
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install osdctl
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:osdctl
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/osdctl>
- **Version:** 0.61.0
- **Source summary:** CLI tool for managed OpenShift clusters
- **Homepage:** <https://github.com/openshift/osdctl>
- **Repository:** <https://github.com/openshift/osdctl>
- **Upstream docs:** <https://github.com/openshift/osdctl#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/openshift/osdctl/archive/refs/tags/v0.61.0.tar.gz>
- **Last updated:** 2026-06-26T15:47:04Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- osdctl (cli)
- osdctl (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.61.0
- Package-manager updated: 2026-06-26
- Local data: ok
- Upstream repository: https://github.com/openshift/osdctl
- Upstream latest detected: v0.61.0 (current)
## Project history and usage

osdctl is a Go CLI toolbox for OpenShift Dedicated and related managed OpenShift operations. The README frames it as a tool to reduce SRE toil, originally centered on AWS and aws-account-operator workflows and later expanded into cluster, account, service-log, RHOBS, environment, evidence, and troubleshooting commands.

### Project history

GitHub records openshift/osdctl as created on 2020-06-03. The README describes a build-and-release workflow using Go, make, GoReleaser, GitHub releases, a Homebrew tap, and generated command documentation after releases.

The command examples show the package expanding from AWS account custom-resource operations into a broader managed-cluster operations toolbox: account reset/status/list, IAM credential rotation, Hive ClusterDeployment inspection, cluster break-glass access, Dynatrace log gathering, service-log posting, OCM environment management, RHOBS commands, and evidence collection.

### Adoption history

Public adoption evidence is mainly internal-platform shaped: osdctl lives under the openshift GitHub organization, is installed from an OpenShift Online SRE tools Homebrew tap in the README, and its command set is full of Red Hat/OpenShift service-operation concepts. Homebrew core also packages it as a CLI tool for managed OpenShift clusters.

The release stream shows active operational packaging, with v0.59.0, v0.60.0, and v0.61.0 publishing Darwin and Linux tarballs plus checksum files. That pattern fits an SRE tool expected to be installed on operator workstations and automation hosts.

### How it is used

SREs use osdctl to inspect and mutate account resources, generate AWS console URLs, rotate secrets, display operator metrics, manage multiple cluster login environments, perform break-glass access and cleanup, post service logs, query organizations, run etcd health checks, and collect evidence for feature testing.

The tool creates or reads configuration under ~/.config/osdctl and ~/.osdctl.yaml. Its env subcommands help operators maintain separate KUBECONFIG and OCM_CONFIG contexts for different clusters, which is a practical workflow detail for managed-cluster support.

### Why package nerds care

osdctl is significant as an example of a large operational CLI whose package boundary is shaped by SRE workflows rather than by one public API. It collects many small runbook actions into one installable binary, which explains both its breadth and its frequent release cadence.

For package metadata, it is also a good reminder that some Homebrew formulas are not consumer developer tools; they are distribution channels for specialized operations software used by a specific platform team.

### Timeline

- 2020-06-03: GitHub repository created.
- 2026-05-18: v0.59.0 release published with multi-platform osdctl artifacts.
- 2026-06-01: v0.60.0 release published.
- 2026-06-26: v0.61.0 release published with Darwin and Linux tarballs plus sha256sum.txt.

### Related projects

- aws-account-operator is explicitly called out in the README as an early supported focus. osdctl also interacts with OpenShift Dedicated, OCM, Hive, Backplane, RHOBS, Dynatrace, and OpenShift/Kubernetes cluster APIs through its command set.

### Sources

- <https://api.github.com/repos/openshift/osdctl>
- <https://api.github.com/repos/openshift/osdctl/releases>
- <https://docs.redhat.com/en/documentation/openshift_dedicated/4/html-single/cli_tools/index>
- <https://formulae.brew.sh/formula/osdctl>
- <https://github.com/openshift/aws-account-operator>
- <https://github.com/openshift/osdctl>
- <https://raw.githubusercontent.com/openshift/osdctl/master/README.md>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/osdctl, ~/.osdctl.yaml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** osdctl
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [ocm](https://www.automicvault.com/pkg/brew/ocm/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes, openshift.
- [clusterctl](https://www.automicvault.com/pkg/brew/clusterctl/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [k9s](https://www.automicvault.com/pkg/brew/k9s/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [kops](https://www.automicvault.com/pkg/brew/kops/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [mcp-server-kubernetes](https://www.automicvault.com/pkg/brew/mcp-server-kubernetes/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [openshift-cli](https://www.automicvault.com/pkg/brew/openshift-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, kubernetes, openshift.
- [rancher-cli](https://www.automicvault.com/pkg/brew/rancher-cli/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [rke](https://www.automicvault.com/pkg/brew/rke/) - Shares av.db curated category or tags: cli, cloud-infrastructure, cluster-management, kubernetes.
- [flintrock](https://www.automicvault.com/pkg/brew/flintrock/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, cluster, cluster-management.

## Combined YAML source

View the package source record on GitHub. [combined/osdctl.yml](https://github.com/automic-vault/db/blob/main/combined/osdctl.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
