Skip to content

Getting Started

Learn how to install the Testform CLI binary, enable shell autocompletion, and execute your first operational commands.

Install the Testform CLI globally or locally within your development repository:

Ventana de terminal
# Global installation via npm
npm install -g @fromeroc9/testform@beta
# Global installation via pnpm
pnpm add -g @fromeroc9/testform@beta
# On-demand execution via npx
npx testform --help

Execute the version command to verify that the binary is available in your $PATH:

Ventana de terminal
testform -version

Expected terminal output:

Testform v1.0.0
Platform: darwin/arm64
Build: commit 4f9a12c

Testform includes native command autocompletion for Bash, Zsh, and PowerShell.

Ventana de terminal
testform -install-autocomplete
# or manually:
eval "$(testform completion bash)"

Add the following directive to your ~/.zshrc:

Ventana de terminal
eval "$(testform completion zsh)"

Add the following line to your $PROFILE:

Ventana de terminal
Invoke-Expression (&testform completion powershell | Out-String)

Following installation, the primary operational lifecycle comprises:

  1. testform init: Scaffolds workspace configuration and directory trees.
  2. testform validate: Checks syntactic validity and governance policies.
  3. testform plan: Computes speculative diffs against remote state.
  4. testform apply: Reconciles planned mutations with external providers.