# Install sword with Homebrew, dnf, MacPorts, Nix, pacman, zypper, apt

Cross-platform tools to write Bible software. Version 1.9.0 via Homebrew; verified 2026-07-13. Also installable with debian: sudo apt install diatheke.

## Install

```sh
sudo av install brew:sword
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sword
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sword
```

  Evidence: MacPorts ports tree: textproc/sword/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install sword
```

  Evidence: Fedora Rawhide package metadata: sword 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#sword
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sw/sword/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sword
```

  Evidence: Arch Linux sync databases: sword from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install sword
```

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

- Debian apt (92%):

```sh
sudo apt install diatheke
```

  Evidence: Debian stable package indexes: diatheke from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:sword
- **Package manager:** Homebrew
- **Version:** 1.9.0
- **Source summary:** Cross-platform tools to write Bible software
- **Homepage:** <https://www.crosswire.org/sword/index.jsp>
- **Last updated:** 2026-07-13T17:31:48+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- diatheke (alias)
- emptyvss (alias)
- imp2gbs (alias)
- imp2ld (alias)
- imp2vs (alias)
- installmgr (alias)
- mkfastmod (alias)
- mod2imp (alias)
- mod2osis (alias)
- mod2vpl (alias)
- mod2zmod (alias)
- osis2mod (alias)
- tei2mod (alias)
- vpl2mod (alias)
- vs2osisref (alias)
- vs2osisreftxt (alias)
- xml2gbs (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.9.0
## Project history and usage

SWORD is CrossWire Bible Society's open-source Bible software engine and command-line/module toolchain. In package-manager terms it is both a library package and a collection of utilities, including diatheke, installmgr, osis2mod, mod2osis, and other import/export tools used to build and manage SWORD modules.

### Project history

CrossWire describes SWORD as a free Bible software project whose purpose is to create cross-platform open-source tools that allow programmers and Bible societies to write Bible software more quickly. The developer page calls the SWORD Engine a software framework for research manipulation of Biblical texts and points developers to source checkout, compile, install, and module download workflows.

### Adoption history

SWORD is used as a back-end engine for multiple front-end Bible applications listed by CrossWire, including BibleTime, Xiphos, PocketSword, The Bible Tool, Eloquent, and Ezra Bible App. The input package facts show distribution across Homebrew, Debian/Ubuntu via diatheke, Fedora, MacPorts, Nix, Arch, and openSUSE package names.

### How it is used

Developers and module maintainers use the engine and utilities to create, convert, install, inspect, and serve Bible text modules. CrossWire's developer quick start documents checking out source, building the engine, installing configuration, and placing downloaded modules under a SWORD module directory.

### Why package nerds care

Package nerds care because SWORD is a long-lived example of a domain-specific content engine exposed through Unix-style tools and packaged under several ecosystem names. The Homebrew formula pulls in a set of command-line converters and install tools that are useful even when the end-user front ends ship their own copy of the engine.

### Timeline

- 2020: CrossWire's developer page lists SWORD Engine/API v1.9.0 as the current release dated November 4, 2020.
- 2023: CrossWire's developer wiki main page was last modified on August 11, 2023 and lists SWORD back-end tools, module development, and front-end applications.
- 2026: CrossWire's SWORD home page continues to show current project news, module downloads, and active front-end releases.

### Related projects

- Related SWORD front ends include BibleTime, Xiphos, PocketSword, The Bible Tool, Eloquent, Ezra Bible App, and The SWORD Project for Windows. Related standards and tools include OSIS, ThML, GBF, JSword, installmgr, and the CrossWire module repositories.

### Sources

- <https://github.com/crosswire/sword>
- <https://wiki.crosswire.org/Main_Page>
- <https://wiki.crosswire.org/Official_and_Affiliated_Module_Repositories>
- <https://www.crosswire.org/sword/develop/index.jsp>
- <https://www.crosswire.org/sword/index.jsp>
- source_facts.executables
- source_facts.package-manager


## 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: ./sword.conf, ~/.sword/sword.conf, /etc/sword.conf, ./mods.d, $SWORD_PATH/mods.d, ~/.sword/mods.d/
## Other Package-Manager Records

- Debian apt - diatheke - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: diatheke from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command line bible browsing and search tool | https://www.crosswire.org/sword/
- Debian apt - libsword-common - 1.9.0+dfsg-7: normalized package name match | Debian stable package indexes: libsword-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | common settings and module repository for libsword | https://www.crosswire.org/sword/
- Debian apt - libsword-dev - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: libsword-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for libsword | https://www.crosswire.org/sword/
- Debian apt - libsword-utils - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: libsword-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | conversion utilities for bible documents in SWORD supported formats | https://www.crosswire.org/sword/
- Debian apt - libsword1.9.0t64 - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: libsword1.9.0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | API/library for bible software | https://www.crosswire.org/sword/
- Debian apt - python3-sword - 1.9.0+dfsg-7+b2: normalized package name match | Debian stable package indexes: python3-sword from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python 3 bindings for the SWORD bible library | https://www.crosswire.org/sword/
- Nix - sword: normalized package name match | nixpkgs package indexes: pkgs/by-name/sw/sword/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - diatheke - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: diatheke from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command line bible browsing and search tool | https://www.crosswire.org/sword/
- Ubuntu apt - libsword-common - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | common settings and module repository for libsword | https://www.crosswire.org/sword/
- Ubuntu apt - libsword-dev - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for libsword | https://www.crosswire.org/sword/
- Ubuntu apt - libsword-utils - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | conversion utilities for bible documents in SWORD supported formats | https://www.crosswire.org/sword/
- Ubuntu apt - libsword1.9.0t64 - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsword1.9.0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | API/library for bible software | https://www.crosswire.org/sword/
- Ubuntu apt - python3-sword - 1.9.0+dfsg-6build2: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-sword from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python 3 bindings for the SWORD bible library | https://www.crosswire.org/sword/
- dnf - perl-sword - 1.9.0-46.fc45: normalized package name match | Fedora Rawhide package metadata: perl-sword from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Perl bindings for Sword | http://www.crosswire.org/sword/
- dnf - python3-sword - 1.9.0-46.fc45: normalized package name match | Fedora Rawhide package metadata: python3-sword from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python bindings for Sword | http://www.crosswire.org/sword/
- dnf - sword - 1.9.0-46.fc45: normalized package name match | Fedora Rawhide package metadata: sword from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Free Bible Software Project | http://www.crosswire.org/sword/


## Combined YAML source

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


## Sources

- 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
