Automic VaultAutomic Vault

brew

tfenv mit Homebrew, MacPorts, Nix, chocolatey, pacman, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für tfenv in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install tfenv

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install tfenv

MacPorts ports tree · sysutils/tfenv/Portfile · Quelle: api.github.com

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#tfenv

nixpkgs package indexes · pkgs/by-name/tf/tfenv/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S terraform

Arch Linux sync databases · terraform · Quelle: geo.mirror.pkgbuild.com

Windows

Chocolateyverifiziert · 92%
choco install terraform

Chocolatey community package catalog · terraform · Quelle: community.chocolatey.org

Scoopverifiziert · 92%
scoop install main/terraform

Scoop official bucket manifest trees · bucket/terraform.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id Hashicorp.Terraform -e

Windows Package Manager source index · Hashicorp.Terraform · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Terraform version manager inspired by rbenv

Befehle und Aliase

  • terraform
  • tfenv

Verlauf

Projektgeschichte und Nutzung

tfenv is a Terraform version manager modeled after `rbenv`. It installs Terraform versions, switches the active version, and lets projects pin versions with `.terraform-version` files.

Projektgeschichte

The README presents tfenv as a Terraform version manager inspired by rbenv, with a shell-script installation model: clone the repository into `~/.tfenv`, add its `bin` directory to PATH, or install it through Homebrew or other package managers.

Its history follows Terraform's own growth as teams moved from one global Terraform binary to many project-specific versions. tfenv added project version files, automatic installation, `latest` and regex-like selectors, minimum-required and latest-allowed resolution, checksum/signature verification paths, custom remotes, and private mirror support.

The release history shows long maintenance rather than a one-off wrapper. The v2.2.0 notes in 2021 included CI migration to GitHub Actions and macOS/Homebrew grep handling. v3.0.0 in 2022 was described as a major update with bashlog refactoring, Mac fixes, auto-install/use fixes, and netrc/private mirror support. v3.1.0 in 2026 was the first release since v3.0.0 and added more constraint handling, locks, custom remote compatibility, and broader tests.

Adoptionsgeschichte

tfenv is one of the more visible Terraform helper tools in package-manager culture: the repository shows thousands of GitHub stars, Homebrew packages it directly, and the input metadata also records MacPorts and Nix packages. Its name and workflow match the pattern used by language/runtime version managers such as rbenv and pyenv.

Adoption is driven by team reproducibility. A repository can include `.terraform-version`, and developers or CI jobs that use tfenv get the intended Terraform version instead of relying on a manually managed global binary.

Wie es verwendet wird

Common commands include `tfenv install`, `tfenv use`, `tfenv uninstall`, `tfenv list`, and `tfenv list-remote`. If no explicit version is passed, `tfenv install` and `tfenv use` resolve from `TFENV_TERRAFORM_VERSION`, `.terraform-version`, or defaults such as `latest`.

The `TFENV_NETRC_PATH` setting supports credentials for custom remotes, and `TFENV_REMOTE` lets users install Terraform from mirrors such as internal artifact repositories rather than HashiCorp's default release host.

Warum Paket-Nerds sich dafür interessieren

tfenv matters because it makes Terraform behave like a language runtime in a polyversion codebase. Package managers install tfenv once; tfenv then mediates the actual Terraform binaries needed by individual repositories.

For infrastructure engineers, this avoids a class of subtle plan/apply drift caused by the wrong Terraform CLI version. For package catalogs, it is a canonical example of a version-manager formula rather than a Terraform distribution itself.

Zeitleiste

  • 2021: v2.2.0 release notes mention GitHub Actions migration and Homebrew-related macOS grep handling.
  • 2022: v3.0.0 major update adds Mac, auto-install/use, netrc, and private mirror improvements.
  • 2026: v3.1.0 is described as the first release since v3.0.0, with constraint, locking, and testing improvements.
  • 2026: v3.2.2 is listed as the latest release on the official releases page.

Related projects

  • `rbenv` is the version-manager pattern explicitly cited by tfenv.
  • Terraform is the binary managed by tfenv.
  • HashiCorp release servers and private mirrors are the remote sources tfenv installs from.

Sicherheitslage

Risikostufe: orange

infrastructure mutation or orchestration signal.

Risikoklassifikator

orange Risiko · mittel Konfidenz · infrastructure

Warum

  • infrastructure mutation or orchestration signal

Signale

  • text:version manager

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.terraform-version~/.terraform-version

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$TFENV_NETRC_PATH

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
terraformcliglobales Executable
tfenvcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version3.2.2
Manager aktualisiert2026-04-28
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv3.2.2

https://github.com/tfutils/tfenv

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:tfenv
Version3.2.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/tfenv
Homepagehttps://github.com/tfutils/tfenv
Repositoryhttps://github.com/tfutils/tfenv
Upstream-Dokumentationhttps://github.com/tfutils/tfenv
LizenzMIT
Quellarchivhttps://github.com/tfutils/tfenv/archive/refs/tags/v3.2.2.tar.gz
Zuletzt aktualisiert2026-04-28T22:04:46Z
Pulseupdated
Abhängigkeitengrep
Von macOS bereitgestellte Bibliothekenunzip
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametfenv
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • tenv
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

tfenv

nix profile install nixpkgs#tfenv
  • normalized package name match
  • Abgeglichen nach: Tfenv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tf/tfenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

tfenv

sudo port install tfenv
  • normalized package name match
  • Abgeglichen nach: Tfenv
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tfenv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

terraform

sudo port install terraform
  • installed executable or alias match
  • Abgeglichen nach: Terraform
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/terraform/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

terraform

nix profile install nixpkgs#terraform
  • installed executable or alias match
  • Abgeglichen nach: Terraform
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: terraform from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman92%

terraform 1.15.6-1

HashiCorp tool for building and updating infrastructure as code idempotently

https://github.com/hashicorp/terraform

sudo pacman -S terraform
  • License: BUSL-1.1
  • Architecture: x86_64
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • 1 optionale Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Terraform
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: terraform from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Chocolatey92%

terraform

choco install terraform
  • installed executable or alias match
  • Abgeglichen nach: Terraform
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: terraform from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'
Scoop92%

main/terraform

scoop install main/terraform
  • installed executable or alias match
  • Abgeglichen nach: Terraform
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/terraform.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

Hashicorp.Terraform

winget install --id Hashicorp.Terraform -e
  • installed executable or alias match
  • Abgeglichen nach: Terraform
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Hashicorp.Terraform from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

Hashicorp.Terraform.Alpha

winget install --id Hashicorp.Terraform.Alpha -e
  • installed executable or alias match
  • Abgeglichen nach: Terraform
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Hashicorp.Terraform.Alpha from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

Hashicorp.Terraform.Beta

winget install --id Hashicorp.Terraform.Beta -e
  • installed executable or alias match
  • Abgeglichen nach: Terraform
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Hashicorp.Terraform.Beta from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

Hashicorp.Terraform.RC

winget install --id Hashicorp.Terraform.RC -e
  • installed executable or alias match
  • Abgeglichen nach: Terraform
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Hashicorp.Terraform.RC from https://cdn.winget.microsoft.com/cache/source.msix

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment