# 使用 Homebrew, apk, apt, dnf, Nix 安装 diceware

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

## 安装

```sh
sudo av install brew:diceware
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install diceware
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add diceware
```

  证据: Alpine Linux edge package indexes: diceware from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install diceware
```

  证据: Debian stable package indexes: diceware from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install diceware
```

  证据: Fedora Rawhide package metadata: diceware 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#diceware
```

  证据: nixpkgs package indexes: diceware from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## 软件包事实

- **软件包键:** brew:diceware
- **软件包管理器:** Homebrew
- **版本:** 1.0.1
- **来源摘要:** Passphrases to remember
- **主页:** <https://github.com/ulif/diceware>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- diceware (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.1
## 项目历史与用法

diceware is a Python command-line passphrase generator that follows Arnold G. Reinhold's Diceware proposal by selecting random words from wordlists.

### 项目历史

The GitHub repository was created in 2015, and the official changelog starts with version 0.1 on 2015-02-18. The docs show a steady command-line password-tool history: new wordlists, real-dice randomness, Python-version support, manpage work, XDG config support, and a 1.0 project-layout overhaul in 2024.

### 采用历史

The package sits in the Unix security-tool tradition: small CLI, auditable inputs, standard package-manager names, and passphrases that can be generated either from the operating system's randomness or from physical dice.

### 使用方式

Users run `diceware` to emit memorable multiword passphrases, choose the number of words, set delimiters, select randomness sources, and pick wordlists. The docs note the EFF wordlist as the default and describe custom, numbered, and PGP-signed wordlists.

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

diceware is notable because it packages a human-centered security practice as a reproducible CLI. It is small enough for distro packaging but opinionated enough to encode defaults around wordlists, entropy, and configuration locations.

### 时间线

- 2015: Repository created and version 0.1 released.
- 2016: EFF wordlist support added.
- 2022: Version 0.10 added syntactically valid phrase support with adjective and noun wordlists.
- 2024: Version 1.0 added XDG config support and modernized the project layout.

### Related projects

- The docs credit Arnold G. Reinhold's Diceware proposal and include wordlists from EFF and other contributors.

### 来源

- <https://github.com/ulif/diceware>
- <https://raw.githubusercontent.com/ulif/diceware/master/README.rst>
- <https://diceware.readthedocs.io/en/latest/>
- <https://diceware.readthedocs.io/en/latest/readme.html>
- <https://diceware.readthedocs.io/en/latest/config.html>
- <https://diceware.readthedocs.io/en/latest/changes.html>
- <https://api.github.com/repos/ulif/diceware>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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: ~/.diceware.ini, $XDG_CONFIG_HOME/diceware/diceware.ini, ~/.config/diceware/diceware.ini, /etc/xdg/diceware/diceware.ini
## 其他软件包管理器记录

- Debian apt - diceware - 1.0.1-1: normalized package name match | Debian stable package indexes: diceware from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Create memorizable passphrases from wordlists and various sources of randomness | https://github.com/ulif/diceware
- Debian apt - diceware-doc - 1.0.1-1: normalized package name match | Debian stable package indexes: diceware-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Create memorizable passphrases from wordlists and various sources of randomness | https://github.com/ulif/diceware
- Nix - diceware: normalized package name match | nixpkgs package indexes: diceware from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - diceware - 0.10-2: normalized package name match | Ubuntu 24.04 LTS package indexes: diceware from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Create memorizable passphrases from wordlists and various sources of randomness | https://github.com/ulif/diceware
- Ubuntu apt - diceware-doc - 0.10-2: normalized package name match | Ubuntu 24.04 LTS package indexes: diceware-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Create memorizable passphrases from wordlists and various sources of randomness | https://github.com/ulif/diceware
- apk - diceware - 1.0.1-r1: normalized package name match | Alpine Linux edge package indexes: diceware from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Passphrases you will remember | https://github.com/ulif/diceware
- apk - diceware-pyc - 1.0.1-r1: normalized package name match | Alpine Linux edge package indexes: diceware-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for diceware | https://github.com/ulif/diceware
- dnf - diceware - 1.0.1-8.fc45: normalized package name match | Fedora Rawhide package metadata: diceware from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Create passphrases which one can remember | https://pypi.python.org/pypi/diceware
- dnf - diceware-doc - 1.0.1-8.fc45: normalized package name match | Fedora Rawhide package metadata: diceware-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for Diceware | https://pypi.python.org/pypi/diceware


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
