Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, scoop, winget, apt 安装 tenv

查看 tenv 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tenv

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tenv

MacPorts ports tree · sysutils/tenv/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add tenv

Alpine Linux edge package indexes · tenv · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#tenv

nixpkgs package indexes · pkgs/by-name/te/tenv/package.nix · 来源: api.github.com

Ubuntu apt已验证 · 92%
sudo apt install tf

Ubuntu 24.04 LTS package indexes · tf · 来源: archive.ubuntu.com

Windows

Scoop已验证 · 92%
scoop install main/tenv

Scoop official bucket manifest trees · bucket/tenv.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Tofuutils.Tenv -e

Windows Package Manager source index · Tofuutils.Tenv · 来源: cdn.winget.microsoft.com

概览

软件包摘要

OpenTofu / Terraform / Terragrunt / Terramate / Atmos version manager

命令和别名

  • tenv
  • terramate
  • tf

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:version manager

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tenvcli全局可执行文件
terramatecli全局可执行文件
tfcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本4.15.1
管理器更新时间2026-07-24
本地数据OK
上游当前
检测到的最新版本v4.15.1

https://github.com/tofuutils/tenv

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:tenv
版本4.15.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tenv
主页https://tofuutils.github.io/tenv/
仓库https://github.com/tofuutils/tenv
上游文档https://tofuutils.github.io/tenv
许可证Apache-2.0
源码归档https://github.com/tofuutils/tenv/archive/refs/tags/v4.15.1.tar.gz
最后更新2026-07-24T15:39:15Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametenv
Version Scheme0
Revision0
Head VersionHEAD
Conflicts With
  • atmos
  • opentofu
  • terragrunt
  • terramate
  • tfenv
  • tgenv
  • tofuenv
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

tenv

nix profile install nixpkgs#tenv
  • normalized package name match
  • 匹配方式:Tenv
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/tenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

tenv 4.12.2-r0

OpenTofu, Terraform, Terragrunt, and Atmos version manager

https://github.com/tofuutils/tenv

sudo apk add tenv
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

tenv-bash-completion 4.12.2-r0

Bash completions for tenv

https://github.com/tofuutils/tenv

sudo apk add tenv-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • normalized package name match
  • 匹配方式:Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

tenv-fish-completion 4.12.2-r0

Fish completions for tenv

https://github.com/tofuutils/tenv

sudo apk add tenv-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • normalized package name match
  • 匹配方式:Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

tenv-zsh-completion 4.12.2-r0

Zsh completions for tenv

https://github.com/tofuutils/tenv

sudo apk add tenv-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: tenv
  • normalized package name match
  • 匹配方式:Tenv
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tenv-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
MacPorts95%

tenv

sudo port install tenv
  • normalized package name match
  • 匹配方式:Tenv
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tenv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/tenv

scoop install main/tenv
  • normalized package name match
  • 匹配方式:Tenv
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/tenv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Tofuutils.Tenv

winget install --id Tofuutils.Tenv -e
  • normalized package name match
  • 匹配方式:Tenv
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Tofuutils.Tenv from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

tf

sudo port install tf
  • installed executable or alias match
  • 匹配方式:Tf
MacPorts ports tree · api.github.com · MacPorts ports tree: net/tf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

terramate

nix profile install nixpkgs#terramate
  • installed executable or alias match
  • 匹配方式:Terramate
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terramate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Nix92%

tf

nix profile install nixpkgs#tf
  • installed executable or alias match
  • 匹配方式:Tf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tf/tf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

tf 1:4.0s1-21.1

Tinyfugue MUD client for TinyMUDs, DikuMUDs, and LPMUDs

sudo apt install tf
  • Section: universe/games
  • Architecture: amd64
  • 3 依赖
  • installed executable or alias match
  • 匹配方式:Tf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Scoop92%

main/tf

scoop install main/tf
  • installed executable or alias match
  • 匹配方式:Tf
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/tf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

Terramate.CLI

winget install --id Terramate.CLI -e
  • installed executable or alias match
  • 匹配方式:Terramate
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Terramate.CLI from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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