Command-line tool
tfsort
brew/tfsort
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
CLI to sort Terraform variables and outputs
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install tfsort
Linux
brew install tfsort
Related command-line tools
- terraform-cleaner
Tiny utility which detects unused variables in your terraform modules - terraform-graph-beautifier
CLI to beautify `terraform graph` output - terraform_landscape
Improve Terraform's plan output - terragrunt
Thin wrapper for Terraform e.g. for locking state terragrunt terraform infrastructure as code iac wrapper - tgenv
Terragrunt version manager inspired by tfenv - checkov
Prevent cloud misconfigurations during build-time for IaC tools - terraform-ls
Terraform Language Server terraform - terraform-docs
Tool to generate documentation from Terraform modules terraform terraform-docs
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents