New: Try Voli The Bear, Fast package manager (and not only) for Windows
Reference

Cheat Sheet

The commands you keep forgetting, with a one-line description and a real example you can copy - 629 across 38 tools. Pick a tool in the sidebar, or search across all of them.

Terraform

Provision infrastructure as code - plan, apply, and manage state.
CommandWhat it doesExample
terraform initDownload providers and set up the working directory.terraform init
terraform planPreview what would change, without touching anything.terraform plan
terraform applyMake the infrastructure match the config.terraform apply
terraform apply -auto-approveApply without the interactive prompt (CI).terraform apply -auto-approve
terraform destroyTear down everything the config manages.terraform destroy
terraform fmtAuto-format .tf files.terraform fmt -recursive
terraform validateCheck syntax and internal consistency.terraform validate
terraform plan -outSave a plan so apply runs exactly that.terraform plan -out=tfplan
terraform outputPrint an output value (great in scripts).terraform output -raw db_endpoint
terraform state listList every resource in the state.terraform state list
terraform state showShow a resource's attributes from state.terraform state show aws_instance.web
terraform apply -targetApply just one resource (sparingly).terraform apply -target=aws_s3_bucket.assets
terraform apply -replaceForce a resource to be recreated.terraform apply -replace=aws_instance.web
terraform importBring an existing resource under management.terraform import aws_instance.web i-0abc123
terraform workspace newCreate a separate state, e.g. per environment.terraform workspace new staging
terraform workspace selectSwitch to another workspace.terraform workspace select prod
terraform state rmForget a resource without destroying it.terraform state rm aws_s3_bucket.legacy