# Installer tenv avec Homebrew, apk, MacPorts, Nix, scoop, winget, apt

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tenv pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install tenv
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tenv
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:tenv
- **Gestionnaire de paquets:** Homebrew
- **Version:** 4.15.1
- **Résumé source:** OpenTofu / Terraform / Terragrunt / Terramate / Atmos version manager
- **Page d'accueil:** <https://tofuutils.github.io/tenv/>
- **Dépôt:** <https://github.com/tofuutils/tenv>
- **Dernière mise à jour:** 2026-07-26T00:50:34+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- atmos (alias)
- tenv (alias)
- terramate (alias)
- tf (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 4.15.1
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

infrastructure mutation or orchestration signal.

- **Risque Geiger:** orange / moyen
- 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
## Autres enregistrements de gestionnaires de paquets

- 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


## Combined YAML source

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


## Sources

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