Skip to content

TFx

A powerful interactive TUI and scriptable CLI for HCP Terraform and Terraform Enterprise.

Two ways to work

TFx gives you an interactive TUI for exploring and a scriptable CLI for automation — both powered by the same API client and configuration.

Interactive TUI

Run tfx to launch a full terminal UI. Browse organizations, workspaces, runs, state, and more with keyboard-driven navigation.

Scriptable CLI

Use commands like tfx workspace list for automation, CI/CD pipelines, and scripting. JSON output with --json for machine consumption.

HCP Terraform & TFE

Works with both HCP Terraform (Terraform Cloud) and self-hosted Terraform Enterprise.

Open Source

MIT licensed and community driven. Contributions welcome and built by engineers who use it daily.

Up and running in 3 steps

1. Install

Terminal window
brew install straubt1/tap/tfx

2. Configure

~/.tfx.hcl
hostname = "app.terraform.io"
defaultOrganization = "my-org"
token = "my-token"

3. Run

Launch the interactive TUI:

Terminal window
tfx

Or use CLI commands directly:

Terminal window
tfx workspace list