# Install itstool with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Make XML documents translatable through PO files. Version 2.0.7 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:itstool
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install itstool
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install itstool
```

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

### Linux

- apk (92%):

```sh
sudo apk add itstool
```

  Evidence: Alpine Linux edge package indexes: itstool from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install itstool
```

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

- dnf (92%):

```sh
sudo dnf install itstool
```

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

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

- pacman (92%):

```sh
sudo pacman -S itstool
```

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

- zypper (92%):

```sh
sudo zypper install itstool
```

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

## Package facts

- **Package key:** brew:itstool
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/itstool>
- **Version:** 2.0.7
- **Source summary:** Make XML documents translatable through PO files
- **Homepage:** <https://itstool.org/>
- **Repository:** <https://github.com/itstool/itstool>
- **Upstream docs:** <https://itstool.org/documentation>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://files.itstool.org/itstool/itstool-2.0.7.tar.bz2>
- **Last updated:** 2026-06-25T13:37:46+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- itstool (cli)
- itstool (alias)

## Dependencies

- libxml2
- python@3.14

## Build dependencies

- doxygen
- pkgconf
- python-setuptools

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.7
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://itstool.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

ITS Tool is a command-line localization utility for turning XML documents into gettext-style PO workflows. Its niche is the intersection of XML documentation, GNU translation tooling, and the W3C Internationalization Tag Set rules that decide what text should be extracted or preserved.

### Project history

The project is developed primarily by Shaun McCance and is published as GPL-3.0-or-later free software. Version 1.0.0 was tagged in April 2011, and the project site presents the tool as a way to make XML documents translatable through PO files while applying standard ITS rules plus ITS Tool extensions.

The 2.0.0 release in 2013 was a major standards-alignment point: its NEWS file lists support for several ITS 2.0 data categories, parameters, DocBook 5 built-in rules, and changes that replaced older custom extensions with ITS 2.0 mechanisms. Later 2.0.x releases concentrated on Python 3 compatibility, XML/libxml2 fixes, macOS file writing fixes, and performance improvements.

### Adoption history

ITS Tool became a small but durable packaging-system utility because it solves a recurring documentation localization problem without requiring each XML project to invent its own extractor. Homebrew, Debian, Fedora, Arch, MacPorts, Nix, Alpine, Ubuntu, and openSUSE packaging in the input metadata show its role as distribution infrastructure rather than a general-purpose end-user application.

### How it is used

The documented workflow is to create POT files from XML and then create translated XML from MO files. Package users usually encounter it in documentation build chains for XML-heavy formats such as DocBook and Mallard, where PO files let translators update individual messages as source documents change.

### Why package nerds care

Package maintainers care about ITS Tool because it is glue: it connects W3C ITS metadata, XML documentation formats, and gettext catalogs. That makes it one of the quiet build-time dependencies that keeps localized Unix documentation reproducible across distributions.

### Timeline

- 2011: Version 1.0.0 tagged.
- 2013: Version 2.0.0 added ITS 2.0 support and refreshed built-in XML rules.
- 2017: Version 2.0.3 added Python 3 support while retaining Python 2 support.
- 2021: Version 2.0.7 tagged with performance improvements for ITS rule handling.

### Related projects

- ITS Tool sits beside gettext, PO/MO catalog tooling, W3C ITS, DocBook, Mallard, and libxml2-based XML processing rather than replacing any of them.

### Sources

- <https://api.github.com/repos/itstool/itstool/tags?per_page=100>
- <https://formulae.brew.sh/formula/itstool>
- <https://itstool.org/>
- <https://itstool.org/documentation/>
- <https://raw.githubusercontent.com/itstool/itstool/master/NEWS>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - itstool - 2.0.6-4: normalized package name match | Debian stable package indexes: itstool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool for translating XML documents with PO files | http://itstool.org/
- Nix - itstool: normalized package name match | nixpkgs package indexes: pkgs/by-name/it/itstool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - itstool - 2.0.6-2: normalized package name match | Ubuntu 24.04 LTS package indexes: itstool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool for translating XML documents with PO files | http://itstool.org/
- apk - itstool - 2.0.7-r3: normalized package name match | Alpine Linux edge package indexes: itstool from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | ITS-based XML translation tool | https://itstool.org/
- apk - itstool-doc - 2.0.7-r3: normalized package name match | Alpine Linux edge package indexes: itstool-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | ITS-based XML translation tool (documentation) | https://itstool.org/
- dnf - itstool - 2.0.7-12.fc44: normalized package name match | Fedora Rawhide package metadata: itstool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | ITS-based XML translation tool | http://itstool.org/
- pacman - itstool - 1:2.0.7-3: normalized package name match | Arch Linux sync databases: itstool from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Translate XML with PO files using W3C Internationalization Tag Set rules | https://itstool.org/
- zypper - itstool - 2.0.7-4.1: normalized package name match | openSUSE Tumbleweed package metadata: itstool from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to translate XML documents using PO files | http://itstool.org
- MacPorts - itstool: normalized package name match | MacPorts ports tree: textproc/itstool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libxml2](https://www.automicvault.com/pkg/brew/libxml2/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [doxygen](https://www.automicvault.com/pkg/brew/doxygen/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [yelp-tools](https://www.automicvault.com/pkg/brew/yelp-tools/) - Popular package that depends on this formula.
- [intltool](https://www.automicvault.com/pkg/brew/intltool/) - Shares av.db curated category or tags: cli, developer-tools, localization, translation, xml.
- [po4a](https://www.automicvault.com/pkg/brew/po4a/) - Shares av.db curated category or tags: cli, developer-tools, localization, po-files, translation.
- [crowdin](https://www.automicvault.com/pkg/brew/crowdin/) - Shares av.db curated category or tags: cli, developer-tools, localization, translation.
- [phrase-cli](https://www.automicvault.com/pkg/brew/phrase-cli/) - Shares av.db curated category or tags: cli, developer-tools, localization, translation.
- [podiff](https://www.automicvault.com/pkg/brew/podiff/) - Shares av.db curated category or tags: cli, developer-tools, localization, po-files.
- [transifex-cli](https://www.automicvault.com/pkg/brew/transifex-cli/) - Shares av.db curated category or tags: cli, developer-tools, localization, translation.
- [translate-toolkit](https://www.automicvault.com/pkg/brew/translate-toolkit/) - Shares av.db curated category or tags: cli, developer-tools, localization, translation.
- [castxml](https://www.automicvault.com/pkg/brew/castxml/) - Shares av.db curated category or tags: cli, developer-tools, xml.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
