# tenv mit Homebrew, apk, MacPorts, Nix, scoop, winget, apt installieren

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

## Installation

```sh
sudo av install brew:tenv
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install tenv
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tenv
```

  Evidenz: MacPorts ports tree: sysutils/tenv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tenv
```

  Evidenz: Alpine Linux edge package indexes: tenv from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#tenv
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/te/tenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install tf
```

  Evidenz: Ubuntu 24.04 LTS package indexes: tf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

### Windows

- Scoop (92%):

```sh
scoop install main/tenv
```

  Evidenz: Scoop official bucket manifest trees: bucket/tenv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Tofuutils.Tenv -e
```

  Evidenz: Windows Package Manager source index: Tofuutils.Tenv from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:tenv
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/tenv>
- **Version:** 4.15.1
- **Quellzusammenfassung:** OpenTofu / Terraform / Terragrunt / Terramate / Atmos version manager
- **Homepage:** <https://tofuutils.github.io/tenv/>
- **Repository:** <https://github.com/tofuutils/tenv>
- **Upstream-Dokumentation:** <https://tofuutils.github.io/tenv/>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://github.com/tofuutils/tenv/archive/refs/tags/v4.15.1.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-26T00:50:34+02:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- atmos (cli)
- tenv (cli)
- terramate (cli)
- tf (cli)
- atmos (Alias)
- tenv (Alias)
- terramate (Alias)
- tf (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 4.15.1
- Manager aktualisiert: 2026-07-26
- lokale Daten: OK
- Upstream-Repository: https://github.com/tofuutils/tenv
- neueste erkannte Version: v4.15.1 (aktuell)
## Projektgeschichte und Nutzung

tenv is a Go version manager for OpenTofu, Terraform, Terragrunt, Terramate, and Atmos. Its README describes it as a successor to tofuenv and tfenv, with extra infrastructure-as-code awareness and cross-platform binary distribution.

### Projektgeschichte

The GitHub repository was created in January 2024, shortly after OpenTofu became a prominent Terraform-compatible tool. The project consolidated separate environment-manager patterns for Terraform and OpenTofu into one executable that also manages adjacent tools used in IaC workflows.

### Adoptionsgeschichte

The official README documents broad package availability across Homebrew, MacPorts, Nix, Scoop, WinGet, Chocolatey, Snap, Alpine, Debian/Ubuntu, RedHat, Arch/AUR, Cloudsmith repositories, and Docker. The supplied package metadata also records Homebrew, apk, MacPorts, Nix, Scoop, Ubuntu, and WinGet entries.

### Wie es verwendet wird

Users run `tenv <tool> <command>` to install, use, detect, reset, uninstall, and list versions for OpenTofu, Terraform, Terragrunt, Terramate, and Atmos. The docs emphasize version files, HCL-based required-version detection, semver constraints, signature verification, and compatibility with tfenv and tofuenv command habits.

### Warum Paket-Nerds sich dafür interessieren

tenv is significant for package nerds because it sits at the junction of packaging, IaC reproducibility, and the Terraform-to-OpenTofu transition. It offers one binary with package-manager-friendly releases, shell completions, version-file conventions, checksum and signature checks, and aliases that preserve older tfenv/tofuenv workflows.

### Zeitleiste

- 2024-01-05: GitHub repository created.
- 2024-01-23: v1.0.4 release published.
- 2024-05-14: v1.11.0 release published.
- 2026-04-29: v4.12.0 release published.
- 2026-06-10: v4.14.8 release published.

### Related projects

- The README explicitly identifies tofuenv and tfenv as predecessors, compares tenv with asdf, and targets OpenTofu, Terraform, Terragrunt, Terramate, and Atmos.

### Quellen

- <https://api.github.com/repos/tofuutils/tenv>
- <https://api.github.com/repos/tofuutils/tenv/releases>
- <https://github.com/tofuutils/tenv#readme>
- <https://tofuutils.github.io/tenv>
- source_facts.package-manager


## Sicherheitshinweise

infrastructure mutation or orchestration signal.

- **Geiger-Risiko:** orange / mittel
- infrastructure mutation or orchestration signal


## 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

- Unix: ${HOME}/.tenv/remote.yaml, ${HOME}/.tenv/OpenTofu/version, ${HOME}/.tenv/Terraform/version, ${HOME}/.tenv/Terragrunt/version, ${HOME}/.tenv/Terramate/version, ${HOME}/.tenv/Atmos/version, ./.opentofu-version, ./.terraform-version, ./.tfswitchrc, ./.terragrunt-version, ./.tgswitchrc, ./.terramate-version, ./.atmos-version, ./.tool-versions
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tenv
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** atmos, opentofu, terragrunt, terramate, tfenv, tgenv, tofuenv
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Nix - tenv: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/tenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - tenv - 4.12.2-r1: normalized package name match | Alpine Linux edge package indexes: tenv from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | OpenTofu, Terraform, Terragrunt, and Atmos version manager | https://github.com/tofuutils/tenv
- apk - tenv-bash-completion - 4.12.2-r1: normalized package name match | Alpine Linux edge package indexes: tenv-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for tenv | https://github.com/tofuutils/tenv
- apk - tenv-fish-completion - 4.12.2-r1: normalized package name match | Alpine Linux edge package indexes: tenv-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for tenv | https://github.com/tofuutils/tenv
- apk - tenv-zsh-completion - 4.12.2-r1: normalized package name match | Alpine Linux edge package indexes: tenv-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for tenv | https://github.com/tofuutils/tenv
- MacPorts - tenv: normalized package name match | MacPorts ports tree: sysutils/tenv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/tenv: normalized package name match | Scoop official bucket manifest trees: bucket/tenv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Tofuutils.Tenv: normalized package name match | Windows Package Manager source index: Tofuutils.Tenv from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - tf: installed executable or alias match | MacPorts ports tree: net/tf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - atmos: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/at/atmos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - terramate: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/te/terramate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - tf: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/tf/tf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tf - 1:4.0s1-21.1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: tf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tinyfugue MUD client for TinyMUDs, DikuMUDs, and LPMUDs
- Scoop - main/atmos: installed executable or alias match | Scoop official bucket manifest trees: bucket/atmos.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Scoop - main/tf: installed executable or alias match | Scoop official bucket manifest trees: bucket/tf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Terramate.CLI: installed executable or alias match | Windows Package Manager source index: Terramate.CLI from https://cdn.winget.microsoft.com/cache/source.msix


## Verwandte Links

- [Cloud CLI packages](https://pkg.so/de/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/de/brew/go/) - Build dependency declared by Homebrew.
- [terragrunt](https://pkg.so/de/brew/terragrunt/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, terraform.
- [tfenv](https://pkg.so/de/brew/tfenv/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform, version-manager.
- [tgenv](https://pkg.so/de/brew/tgenv/) - Shares pkgdb curated category or tags: cli, developer-tools, terragrunt, version-manager.
- [tfmigrate](https://pkg.so/de/brew/tfmigrate/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, terraform.
- [terramate](https://pkg.so/de/brew/terramate/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, terraform.
- [tfupdate](https://pkg.so/de/brew/tfupdate/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, terraform.
- [terratag](https://pkg.so/de/brew/terratag/) - Shares pkgdb curated category or tags: cli, developer-tools, terraform, terragrunt.
- [tofuenv](https://pkg.so/de/brew/tofuenv/) - Shares pkgdb curated category or tags: cli, developer-tools, opentofu, version-manager.

## Combined YAML source

View the package source record on GitHub. [combined/tenv.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tenv.yml)


## Quellen

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