macOS
brew install osmium-toollocal Homebrew formula metadata
sudo port install osmium-toolMacPorts ports tree · gis/osmium-tool/Portfile · source: api.github.com
brew
Libosmium-based command-line tool for processing OpenStreetMap data. Version 1.19.1 via Homebrew; verified 2026-06-25.
install
brew install osmium-toollocal Homebrew formula metadata
sudo port install osmium-toolMacPorts ports tree · gis/osmium-tool/Portfile · source: api.github.com
sudo apt install osmium-toolDebian stable package indexes · osmium-tool · source: deb.debian.org
sudo dnf install osmium-toolFedora Rawhide package metadata · osmium-tool · source: dl.fedoraproject.org
nix profile install nixpkgs#osmium-toolnixpkgs package indexes · pkgs/by-name/os/osmium-tool/package.nix · source: api.github.com
overview
Libosmium-based command-line tool for processing OpenStreetMap data
history
osmium-tool is the command-line front end for the Osmium/libosmium ecosystem, providing a single `osmium` executable for inspecting, converting, filtering, extracting, sorting, diffing, and updating OpenStreetMap data files.
The tool grew out of Jochen Topf's Osmium work. The Osmium FAQ distinguishes the old Osmium library, developed from 2010 to 2013, from the C++11-based rewrite that began in 2013; osmium-tool is built on that newer libosmium stack. The repository credits Jochen Topf as writer and maintainer and carries copyright years beginning in 2013.
Its architecture follows libosmium's file-format and data-model abstractions. The manual describes the `osmium` command as a Git-like dispatcher with subcommands, while the website emphasizes a broad feature set ranging from file info and format conversion to history-file extraction and changeset filtering.
osmium-tool became a standard utility for OSM data operators because it covers many routine jobs without requiring custom C++ code. The project site lists packages for Debian/Ubuntu, Fedora, Homebrew, and conda-forge, and the manual notes support and regular testing across Linux, macOS, and Windows.
In the OSM tooling timeline, Osmium also became the recommended alternative for some Osmosis users as Osmosis moved into light maintenance. That adoption pattern reflects a broader shift from Java pipeline tooling toward libosmium-backed C++ tools for high-volume file processing.
Operators use osmium-tool to inspect extract metadata, convert between XML, PBF, O5M/O5C, OPL, and debug formats, build geographic extracts from bounding boxes or polygons, verify references in partial extracts, work with OSM history and change files, and chain these tasks inside shell scripts.
Its verbose mode, safety checks against overwriting output, and support for all major OSM file formats make it a pragmatic package for repeatable data jobs: download an extract, inspect headers, filter or cut the data, and feed the result into renderers, importers, or analysis systems.
For package nerds, osmium-tool is the visible CLI layer of a carefully separated stack: protozero for PBF encoding support, libosmium as a header-only C++ OSM library, and osmium-tool as the packaged executable suite. It is a good example of a domain library being exposed through a durable multipurpose command.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
osmium | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/osmcode/osmium-tool
install metadata
| Package key | brew:osmium-tool |
|---|---|
| Version | 1.19.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/osmium-tool |
| Homepage | https://osmcode.org/osmium-tool/ |
| Repository | https://github.com/osmcode/osmium-tool |
| Upstream docs | https://docs.osmcode.org/osmium/latest/osmium.html |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/osmcode/osmium-tool/archive/refs/tags/v1.19.1.tar.gz |
| Last updated | 2026-06-25T13:38:00+02:00 |
| Pulse | updated |
| Dependencies | boost, lz4 |
| Build dependencies | cmake, libosmium, nlohmann-json, pandoc, protozero |
| Uses from macOS | bzip2, expat |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | osmium-tool |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
osmium-tool 1.18.0-1
Command line tool for working with OpenStreetMap data
https://osmcode.org/osmium-tool/
sudo apt install osmium-toolosmium-tool
nix profile install nixpkgs#osmium-toolosmium-tool 1.16.0-1build1
Command line tool for working with OpenStreetMap data
https://osmcode.org/osmium-tool/
sudo apt install osmium-toolosmium-tool 1.19.1-1.fc45
Command line tool for working with OpenStreetMap data
http://osmcode.org/osmium-tool/
sudo dnf install osmium-toolosmium-tool
sudo port install osmium-toolosmium
nix profile install nixpkgs#osmiumsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.