pkg.soopen package index

brew / 排名 358

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 rbenv

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install rbenv

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install rbenv

MacPorts ports tree · ruby/rbenv/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install rbenv

Debian stable package indexes · rbenv · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install rbenv

Fedora Rawhide package metadata · rbenv · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S rbenv

Arch Linux sync databases · rbenv · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install rbenv

openSUSE Tumbleweed package metadata · rbenv · 来源: download.opensuse.org

概览

软件包摘要

Ruby version manager

命令和别名

  • rbenv

历史

项目历史与用法

rbenv is a Unix-like Ruby version manager that selects a Ruby through PATH shims and project or user version files while leaving Ruby installation to plugins such as ruby-build.

项目历史

rbenv was created as a simple mechanism for selecting Ruby versions per project. It prepends shims to PATH, resolves the requested version from environment or version files, and delegates actual Ruby installation to tools such as the separately maintained ruby-build plugin.

Version 0.4.0 changed the preferred project file from `.rbenv-version` to the cross-tool `.ruby-version` name. Version 1.0.0 characterized the project as a robust Unix-methodology tool and expanded plugin hooks and shell support.

采用历史

rbenv became a prominent lightweight alternative in the Ruby version-manager ecosystem. Its official installation guide recommends package-manager installation where available, while the supplied metadata records packages for Homebrew, Debian, Ubuntu, Fedora/DNF, Arch, MacPorts, Nix, and openSUSE.

Its Bash plugin interface fostered an ecosystem including ruby-build, rbenv-aliases, rbenv-binstubs, and rbenv-bundler. The rbenv maintainers describe it as having inspired forks for other programming languages and software environments.

使用方式

Users normally install Ruby versions with ruby-build, choose a machine-wide default with `rbenv global`, and write a project-specific `.ruby-version` with `rbenv local`. `RBENV_VERSION` or `rbenv shell` can override file-based selection.

The user-wide default is stored in `~/.rbenv/version`; project selection is stored in `.ruby-version`. Installed Rubies and shims normally live beneath `~/.rbenv`, configurable through `RBENV_ROOT`.

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

rbenv exemplifies the Unix-style version-manager design: a small shim dispatcher, plain-text version files, environment variables, and separately packaged plugins. This contrasts with managers that combine runtime compilation, gemsets, and shell management in one tool.

The `.ruby-version` convention became useful beyond rbenv because multiple Ruby version managers can consume it. That portability makes the file part of the practical interface between projects, developers, CI systems, and package tooling.

时间线

  • 2013: rbenv 0.4.0 adopted `.ruby-version` as the preferred project-local version file.
  • 2018: rbenv 1.0.0 formalized expanded hooks, improved shell support, and the project's mature Unix-style workflow.

Related projects

  • ruby-build
  • rbenv-installer
  • RVM
  • chruby
  • asdf

来源

  • Distribution evidence: source_facts.package-manager
  • Official releases: https://github.com/rbenv/rbenv/releases
  • Official repository and README: https://github.com/rbenv/rbenv
  • Official wiki: https://github.com/rbenv/rbenv/wiki

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:version manager

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 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
.ruby-version

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-09-19
管理器版本1.3.2
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.3.2

https://github.com/rbenv/rbenv

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

安装元数据

软件包元数据

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

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

rbenv 1.1.2-2

simple per-user Ruby version manager

https://github.com/sstephenson/rbenv

sudo apt install rbenv
  • Section: ruby
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Rbenv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: rbenv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

rbenv

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

rbenv 1.1.2-1

simple per-user Ruby version manager

https://github.com/sstephenson/rbenv

sudo apt install rbenv
  • Section: universe/ruby
  • Architecture: all
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Rbenv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: rbenv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

rbenv 1.3.2-5.fc45

Manage your app's Ruby environment

https://github.com/rbenv/rbenv

sudo dnf install rbenv
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: rbenv
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Rbenv
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: rbenv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

rbenv 1.3.2-2

Manage your app's Ruby environment

https://github.com/rbenv/rbenv

sudo pacman -S rbenv
  • License: MIT
  • Architecture: any
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Rbenv
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: rbenv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

rbenv 1.3.2-1.4

Simple Ruby version Management

https://github.com/rbenv/rbenv

sudo zypper install rbenv
  • License: MIT
  • Category: Development/Languages/Ruby
  • Architecture: noarch
  • Source Package: rbenv
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Rbenv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: rbenv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

rbenv-bash-completion 1.3.2-1.4

Bash completion for rbenv

https://github.com/rbenv/rbenv

sudo zypper install rbenv-bash-completion
  • License: MIT
  • Category: Development/Languages/Ruby
  • Architecture: noarch
  • Source Package: rbenv
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Rbenv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: rbenv-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

rbenv-zsh-completion 1.3.2-1.4

ZSH completion for rbenv

https://github.com/rbenv/rbenv

sudo zypper install rbenv-zsh-completion
  • License: MIT
  • Category: Development/Languages/Ruby
  • Architecture: noarch
  • Source Package: rbenv
  • 1 提供
  • normalized package name match
  • 匹配方式:Rbenv
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: rbenv-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts95%

rbenv

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

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • 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
  • pkg.so package database
  • pkgdb category and tag curation