Automic VaultAutomic Vault

brew

使用 Homebrew 安装 anyenv

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install anyenv

local Homebrew formula metadata

概览

软件包摘要

All in one for **env

命令和别名

  • anyenv

历史

项目历史与用法

anyenv is a wrapper for rbenv-style environment managers. It exists for developers who use several language-specific '*env' tools and do not want to clone and shell-initialize each one by hand.

项目历史

The official README describes anyenv as 'All in one for **env' and a simple wrapper around rbenv-style environment managers. It installs managers such as rbenv, pyenv, and nodenv through manifest scripts, then lets the individual manager handle language/runtime installation.

The companion anyenv-install repository defines the manifest format. A manifest is just a shell script using install_env and optional install_plugin calls, which keeps anyenv's core small and pushes per-manager installation rules into a separate manifest directory.

采用历史

anyenv is most common among shell users who already accept the rbenv/pyenv/nodenv style of shims and per-user runtime directories. The input facts show Homebrew packaging, and the official README starts with Homebrew setup for macOS users before describing manual git checkout.

The project is intentionally niche: it does not replace each language manager's ecosystem, it reduces the installation and shell-profile repetition around using many of them.

使用方式

A user installs anyenv, runs anyenv init, initializes the manifest directory with anyenv install --init, and then installs managers with commands such as anyenv install rbenv, anyenv install pyenv, and anyenv install nodenv. After restarting the shell, the installed manager commands are available.

Configuration centers on ANYENV_DEFINITION_ROOT, the directory containing install manifests. If not set, official docs fall back to ${XDG_CONFIG_HOME}/anyenv/anyenv-install or ${HOME}/.config/anyenv/anyenv-install.

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

anyenv is package-manager glue for package-manager people: it manages managers. Its interesting bit is not a runtime resolver, but the small manifest protocol that bootstraps many language-specific env tools from one command.

It is also a reminder that shell initialization is real packaging surface. anyenv's value is partly that it centralizes PATH and init setup, avoiding a growing dotfile pile of independent *env snippets.

时间线

  • 2010s: anyenv adopts the rbenv-style manager pattern as a wrapper around multiple '*env' tools.
  • 2020s: The repository reaches the v1.1.x tag series and remains documented through anyenv.github.io and GitHub README.
  • 2026: Homebrew package facts list anyenv as an available formula.

Related projects

  • rbenv, pyenv, and nodenv are examples shown in the official usage docs.
  • anyenv-install is the official manifest repository used by anyenv install --init.
  • anyenv-update and anyenv-git are plugins listed by the official README.

来源

  • Official anyenv README, anyenv.github.io, anyenv-install README, and source_facts.package-manager.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 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
${XDG_CONFIG_HOME}/anyenv/anyenv-install${HOME}/.config/anyenv/anyenv-install

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.1.5
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.1.5

https://github.com/anyenv/anyenv

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:anyenv
版本1.1.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/anyenv
主页https://anyenv.github.io/
仓库https://github.com/anyenv/anyenv
上游文档https://anyenv.github.io/
许可证MIT
源码归档https://github.com/anyenv/anyenv/archive/refs/tags/v1.1.5.tar.gz
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameanyenv
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

来源线索

由仓库数据生成

此页面由 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
  • package relationship graph
  • package version freshness
  • package-page enrichment