IBM Cloud CLI
$ ibmcloud Official High RiskIBM Cloud CLI (ibmcloud) manages IBM Cloud accounts, VPC, Red Hat OpenShift, and Watsonx services via a core binary plus modular plugins, supporting --output JSON, -q (--quiet), and -f (--force) flags.
brew install --cask ibm-cloud-cli ibmcloud supports --output JSON across core and official plugins, avoiding custom MCP wrappers for IBM Cloud.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Core commands and official plugins support --output JSON and -q, though plugin installation state must be verified first.
- Supports
--output JSON,-q, and--no-version-check
Supports IBMCLOUD_API_KEY headless auth and resource-group targeting, but lacks a universal --dry-run flag.
- Explicit
ibmcloud targetresource-group scoping
Cross-platform installers exist, but domain commands require installing extra plugins (ibmcloud plugin install).
- Modular plugin architecture adds setup steps
Broad IBM Cloud coverage once required service plugins are installed.
- Covers IAM, VPC, IKS, and OpenShift via plugins
Official IBM-maintained CLI with regular release cadence.
- First-party IBM Cloud CLI
Comprehensive online docs and built-in --help per installed plugin.
- IBM Cloud CLI documentation portal
Security, Auth & Guardrails
Stores session tokens and target region/resource group in ~/.bluemix/config.json, or authenticates headlessly via IBMCLOUD_API_KEY.
CLI is free to download; IBM Cloud resource actions incur account billing.
# ibmcloud Agent Rules - Run `ibmcloud target --output JSON` first to verify account, region, and resource group. - Always pass `--output JSON` and `-q` (`--quiet`) to suppress interactive noise. - Never run `delete` commands with `-f` unless explicitly approved.
Agent-Ready Command Recipes
Safe Read-Only Queries
ibmcloud target --output JSON
Verifies active account, region, and resource group before running commands.
ibmcloud resource groups --output JSON
Emits resource groups and quotas as JSON.
Strengths for Agents
- + Consistent
--output JSONacross core and service plugins. - + Clean
ibmcloud targetscoping for accounts, regions, and resource groups. - + Supports headless API key login via
IBMCLOUD_API_KEY.
Caveats & Pitfalls
- ! Many services (VPC, Kubernetes) require separate
ibmcloud plugin installsteps. - ! Proprietary binary distribution with no universal
--dry-runflag.