Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

tenv

$ tenv Community Low Risk
tofuutils · Cloud & Infra · Apache-2.0 · macos / linux / windows

tenv replaces tfenv, tofuenv, and tgenv with a single static Go binary written in the OpenTofu ecosystem. It auto-detects .terraform-version, .opentofu-version, .terragrunt-version, and HCL required_version constraints, verifying Cosign and PGP signatures automatically.

FCRS-1.0 Score
85 /100
Good
Medium Confidence
Zero-Friction Install
brew install tenv
CLI vs MCP Decision CLI Only

Local binary shim and signature-verified installer; unsuitable for remote MCP tools.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 17 / 25

Predictable subcommand tree (tofu, tf, tg, tm, atmos), deterministic auto-detection, and headless execution, though output is plain text rather than JSON.

  • Non-interactive detect, list, and install subcommands
  • No structured --json output flag
Trust & Safety 23 / 25

Verifies Cosign and PGP signatures by default before caching binaries locally; zero cloud state mutations.

  • Built-in PGP and Cosign verification on downloaded binaries
Setup & Portability 15 / 15

Static Go binary supporting macOS, Linux, and Windows via Homebrew, scoop, winget, deb/rpm, and Go.

  • Cross-platform Go binary with zero Bash/Ruby dependencies
Utility & Efficiency 14 / 15

Consolidates five IaC version managers into one binary and parses HCL required_version directly.

  • Manages OpenTofu, Terraform, Terragrunt, Terramate, and Atmos
Maintenance & Lineage 8 / 10

Actively maintained by tofuutils under Apache-2.0 within the OpenTofu ecosystem.

  • Active tofuutils/tenv repository with Apache-2.0 license
Docs & Verifiability 8 / 10

Clear documentation site and --help output per IaC tool subcommand.

  • Documented at tofuutils.github.io/tenv

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

No user login required; optionally accepts TENV_GITHUB_TOKEN (-t) to avoid GitHub API rate limits when resolving remote releases.

Side Effects
Read-Only Local Write
Cost & Quotas

Apache-2.0 open-source and free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# tenv Agent Rules
- Run `tenv tofu detect` or `tenv tf detect` before running IaC plans.
- Pass `TENV_GITHUB_TOKEN` in CI to avoid unauthenticated GitHub rate limits.
- Avoid `tenv tf uninstall` unless cleaning a dedicated runner cache.

Agent-Ready Command Recipes

Safe Read-Only Queries

List installed OpenTofu and Terraform versions
tenv tofu list && tenv tf list

Displays locally cached OpenTofu and Terraform binaries without network calls.

Detect constraint from project files
tenv tofu detect

Inspects .opentofu-version, required_version, and env vars to show the resolved version.

Controlled Writes & Previews

Install pinned Terraform version
tenv tf install

Downloads and signature-verifies the version declared in the repo's constraint files.

Strengths for Agents

  • + Single binary manages OpenTofu, Terraform, Terragrunt, Terramate, and Atmos.
  • + Built-in Cosign and PGP verification plus HCL required_version parsing.
  • + Cross-platform static Go binary including native Windows support.

Caveats & Pitfalls

  • ! Outputs human-readable text without a --json flag.
  • ! Remote release lookups can hit GitHub rate limits if TENV_GITHUB_TOKEN is unset.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI