# poetry を Homebrew, apk, dnf, MacPorts, Nix, apt, pacman, scoop でインストール

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

## インストール

```sh
sudo av install brew:poetry
```

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

poetry manages Python dependencies and package publishing.

- **認証情報アクセス:** Reads PyPI tokens, repository credentials, environment variables, and project config.
- **リモート変更:** Can install dependencies and interact with package repositories.
- **公開/成果物リスク:** Can build and publish Python packages.
- **推奨コントロール:** Gate publish, config, and credentialed repository operations.
- **エージェント利用ガイダンス:** Allow lock/test/build; require approval for publish and credential changes.

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

### macOS

- Homebrew (100%):

```sh
brew install poetry
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install poetry
```

  証拠: MacPorts ports tree: python/poetry/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add poetry
```

  証拠: Alpine Linux edge package indexes: poetry from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install poetry
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#poetry
```

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

- Debian apt (92%):

```sh
sudo apt install python3-poetry
```

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

- pacman (92%):

```sh
sudo pacman -S python-poetry
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/poetry
```

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

## パッケージ情報

- **パッケージキー:** brew:poetry
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.4.1
- **ソース概要:** Python package management tool
- **ホームページ:** <https://python-poetry.org/>
- **リポジトリ:** <https://github.com/python-poetry/poetry>
- **最終更新:** 2026-06-20T11:12:23Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- poetry (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

## セキュリティノート

poetry に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



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

- macOS: ~/Library/Application Support/pypoetry/auth.toml, ~/Library/Preferences/pypoetry/auth.toml
- Unix: ~/.config/pypoetry/auth.toml, $XDG_CONFIG_HOME/pypoetry/auth.toml

## Credential files

- macOS: ~/Library/Application Support/pypoetry/auth.toml, ~/Library/Preferences/pypoetry/auth.toml
- Unix: ~/.config/pypoetry/auth.toml, $XDG_CONFIG_HOME/pypoetry/auth.toml
## 他のパッケージマネージャ記録

- Debian apt - python3-poetry - 2.1.2+dfsg-1+deb13u1: normalized package name match | Debian stable package indexes: python3-poetry from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python dependency management and packaging made easy (Python 3) | https://python-poetry.org/
- Nix - poetry: normalized package name match | nixpkgs package indexes: pkgs/by-name/po/poetry/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - python3-poetry - 1.8.2+dfsg-1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-poetry from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python dependency management and packaging made easy (Python 3) | https://python-poetry.org/
- apk - poetry - 2.3.3-r0: normalized package name match | Alpine Linux edge package indexes: poetry from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Python3 dependency management and packaging system | https://python-poetry.org/
- apk - poetry-pyc - 2.3.3-r0: normalized package name match | Alpine Linux edge package indexes: poetry-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for poetry | https://python-poetry.org/
- dnf - poetry - 2.4.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: poetry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python dependency management and packaging made easy | https://python-poetry.org/
- dnf - python3-poetry - 2.4.1-4.fc45: normalized package name match | Fedora Rawhide package metadata: python3-poetry from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python dependency management and packaging made easy | https://python-poetry.org/
- pacman - python-poetry - 2.4.1-1: normalized package name match | Arch Linux sync databases: python-poetry from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Python dependency management and packaging made easy | https://python-poetry.org
- MacPorts - poetry: normalized package name match | MacPorts ports tree: python/poetry/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/poetry: normalized package name match | Scoop official bucket manifest trees: bucket/poetry.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- 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
