# pyenv を Homebrew, apt, Nix, pacman, zypper, scoop, dnf でインストール

pyenv のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:pyenv
```

## エージェント安全性の回答

pyenv manages Python versions and can affect interpreter resolution for agent-run tools.

- **認証情報アクセス:** Reads project config and environment variables but not secrets by default.
- **リモート変更:** Usually local, but installed Python tools may call remote services.
- **公開/成果物リスク:** Can influence build artifacts by changing interpreter versions.
- **推奨コントロール:** Gate plugin installs and commands that run project scripts with secrets.
- **エージェント利用ガイダンス:** Allow version switching and inspection; require approval before plugin installs or secret-backed scripts.

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install pyenv
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install pyenv
```

  証拠: Debian stable package indexes: pyenv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#pyenv
```

  証拠: nixpkgs package indexes: pkgs/by-name/py/pyenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S pyenv
```

  証拠: Arch Linux sync databases: pyenv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install pyenv
```

  証拠: openSUSE Tumbleweed package metadata: pyenv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install python3-build
```

  証拠: Fedora Rawhide package metadata: python3-build from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Ubuntu apt (92%):

```sh
sudo apt install python3-build
```

  証拠: Ubuntu 24.04 LTS package indexes: python3-build from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

### Windows

- Scoop (92%):

```sh
scoop install main/pyenv
```

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

## パッケージ情報

- **パッケージキー:** brew:pyenv
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.8.1
- **ソース概要:** Python version management
- **ホームページ:** <https://github.com/pyenv/pyenv>
- **リポジトリ:** <https://github.com/pyenv/pyenv>
- **最終更新:** 2026-07-18T21:26:29Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- pyenv (エイリアス)
- pyenv-install (エイリアス)
- pyenv-uninstall (エイリアス)
- python-build (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.8.1

## セキュリティノート

runtime version manager.

- **Geiger リスク:** orange / 高
- runtime version manager
- **承認ゲートルール:** 5


## 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: .python-version, $(pyenv root)/version
## 他のパッケージマネージャ記録

- Debian apt - pyenv - 2.5.4-1: normalized package name match | Debian stable package indexes: pyenv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple Python version management | https://github.com/pyenv/pyenv
- Nix - pyenv: normalized package name match | nixpkgs package indexes: pkgs/by-name/py/pyenv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - pyenv - 1:2.8.1-1: normalized package name match | Arch Linux sync databases: pyenv from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Easily switch between multiple versions of Python | https://github.com/pyenv/pyenv
- zypper - pyenv - 2.7.3-1.3: normalized package name match | openSUSE Tumbleweed package metadata: pyenv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Python Version Management | https://github.com/pyenv/pyenv
- zypper - pyenv-bash-completion - 2.7.3-1.3: normalized package name match | openSUSE Tumbleweed package metadata: pyenv-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for pyenv | https://github.com/pyenv/pyenv
- zypper - pyenv-fish-completion - 2.7.3-1.3: normalized package name match | openSUSE Tumbleweed package metadata: pyenv-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish completion for pyenv | https://github.com/pyenv/pyenv
- zypper - pyenv-zsh-completion - 2.7.3-1.3: normalized package name match | openSUSE Tumbleweed package metadata: pyenv-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh completion for pyenv | https://github.com/pyenv/pyenv
- Scoop - main/pyenv: normalized package name match | Scoop official bucket manifest trees: bucket/pyenv.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Debian apt - python3-build - 1.2.2-2: installed executable or alias match | Debian stable package indexes: python3-build from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple, correct PEP517 package builder (Python 3) | https://github.com/pypa/build
- Debian apt - python3-build-doc - 1.2.2-2: installed executable or alias match | Debian stable package indexes: python3-build-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Simple, correct PEP517 package builder (documentation) | https://github.com/pypa/build
- Ubuntu apt - python3-build - 1.0.3-2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: python3-build from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple, correct PEP517 package builder (Python 3) | https://github.com/pypa/build
- Ubuntu apt - python3-build-doc - 1.0.3-2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: python3-build-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Simple, correct PEP517 package builder (documentation) | https://github.com/pypa/build
- dnf - python3-build - 1.5.0-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3-build from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A simple, correct PEP517 package builder | https://github.com/pypa/build
- dnf - python3-build+uv - 1.5.0-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3-build+uv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-build: uv extras | https://github.com/pypa/build
- dnf - python3-build+virtualenv - 1.5.0-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: python3-build+virtualenv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for python3-build: virtualenv extras | https://github.com/pypa/build
- pacman - python-build - 1.4.3-1: installed executable or alias match | Arch Linux sync databases: python-build from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A simple, correct Python build frontend | https://github.com/pypa/build


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- approval-gate seed metadata
- curated configuration and credential file locations
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
