Skip to content

terraform

OfficialAgent-readyInfraContainers / Infra

Infrastructure as code, plans, and provisioning from the terminal.

The official CLI from HashiCorp. Infrastructure as code, plans, and provisioning from the terminal. Start with `terraform init` and go from there. Supports structured output — good for scripts and agents.

Task fit

infrastructure as code, plans, and provisioning from the terminal.

Lane

Work with Kubernetes, Terraform, containers, and ops tooling with more confidence.

Operator brief

Use terraform for infrastructure as code, plans, and provisioning from the terminal.

Run `terraform plan` to see it in action.

Repository family

HashiCorp

First trust check

Terraform responds and is ready to inspect or plan.

Safe first loop

Install, verify, then run one real command.

Infra inspection loop

Install command

$ brew tap hashicorp/tap && brew install hashicorp/tap/terraform

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ terraform version

Terraform responds and is ready to inspect or plan.

First real command

$ terraform init && terraform plan

First steps

  1. 01Install terraform.
  2. 02Run `terraform version` first.
  3. 03Start with `terraform init && terraform plan`.
  4. 04Install the infra CLI and verify kubeconfig, Docker context, or cloud credentials.

When to use / hold off when

Best for

infrastructure as code, plans, and provisioning from the terminal.

Use this when

You're on HashiCorp and want the official terminal experience.

Hold off when

You don't work with containers and infrastructure.

Trust and constraints

trusted100/100
OfficialInstall readyTrustedCaution
JSON outputYes
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • terraform fits infra well, especially for infrastructure as code, plans, and provisioning from the terminal.
  • It is the official CLI from HashiCorp.
  • Good for scripts and agents.

Constraints

  • Needs network access.
  • Start with read-only or dry-run commands.

Facts and links

Install withbrew
Homebrew installs (30d)8.6K
GitHub stars48K
LicenseNOASSERTION
UpdatedMar 25, 2026