# Install diceware with Homebrew, apk, apt, dnf, Nix

Passphrases to remember. Version 1.0.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install diceware
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add diceware
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: Fedora Rawhide package metadata: diceware from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#diceware
```

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

## Package facts

- **Package key:** brew:diceware
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/diceware>
- **Version:** 1.0.1
- **Source summary:** Passphrases to remember
- **Homepage:** <https://github.com/ulif/diceware>
- **Repository:** <https://github.com/ulif/diceware>
- **Upstream docs:** <https://diceware.readthedocs.io/en/latest>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://files.pythonhosted.org/packages/8b/ba/db6c087f044f6a753a85c0d8b25848122018ced2130061298c0c08940a54/diceware-1.0.1.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- diceware (cli)
- diceware (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.1
- Local data: ok
- Upstream repository: https://github.com/ulif/diceware
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** diceware
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- 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-7.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Create passphrases which one can remember | https://pypi.python.org/pypi/diceware
- dnf - diceware-doc - 1.0.1-7.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Documentation for Diceware | https://pypi.python.org/pypi/diceware


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [passwdqc](https://www.automicvault.com/pkg/brew/passwdqc/) - Shares av.db curated category or tags: cli, passphrases, passwords, security.
- [checkpwn](https://www.automicvault.com/pkg/brew/checkpwn/) - Shares av.db curated category or tags: cli, passwords, security.
- [name-that-hash](https://www.automicvault.com/pkg/brew/name-that-hash/) - Shares av.db curated category or tags: cli, passwords, security.
- [wifi-password](https://www.automicvault.com/pkg/brew/wifi-password/) - Shares av.db curated category or tags: cli, passwords, security.
- [cracklib](https://www.automicvault.com/pkg/brew/cracklib/) - Shares av.db curated category or tags: cli, passwords, security.
- [crunch](https://www.automicvault.com/pkg/brew/crunch/) - Shares av.db curated category or tags: cli, passwords, security, wordlists.
- [pwgen](https://www.automicvault.com/pkg/brew/pwgen/) - Shares av.db curated category or tags: cli, passwords, security.
- [search-that-hash](https://www.automicvault.com/pkg/brew/search-that-hash/) - Shares av.db curated category or tags: cli, passwords, security.

## Combined YAML source

View the package source record on GitHub. [combined/diceware.yml](https://github.com/automic-vault/db/blob/main/combined/diceware.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
