macOS
brew install osrm-backendlocal Homebrew formula metadata
brew
High performance routing engine. Version 26.7.2 via Homebrew; verified 2026-07-04.
install
brew install osrm-backendlocal Homebrew formula metadata
nix profile install nixpkgs#osrm-backendnixpkgs package indexes · pkgs/by-name/os/osrm-backend/package.nix · source: api.github.com
overview
High performance routing engine
history
OSRM Backend is the C++ routing engine behind the Open Source Routing Machine project. It consumes OpenStreetMap road data, preprocesses it into routing graph files, and serves route, nearest, table, match, trip, and tile services over an HTTP API, a C++ interface, and Node.js bindings.
OSRM began as Dennis Luxen's attempt to bring high-performance academic route-planning algorithms to OpenStreetMap data. Wired reported in November 2013 that Luxen started OSRM around 2010 while working as a PhD candidate at Karlsruhe Institute of Technology, after a discussion with OpenStreetMap contributor Frederik Ramm led him to apply his routing research to OSM.
The OpenStreetMap wiki records the initial public release on July 9, 2010, and an ACM GIS 2011 presentation by Dennis Luxen and Christian Vetter. The same history notes later project phases involving Mapbox's Directions team and a period of slower maintenance after Mapbox shifted routing investment toward Valhalla.
OSRM's adoption came from its speed and self-hostability. The official site advertises continental-sized road networks served within milliseconds, while the README documents a Docker-first quick start for turning an OSM extract into a running HTTP routing server.
The OpenStreetMap wiki lists services and applications powered by OSRM, including FOSSGIS routing, Cycle.travel, Maps.Me, Mapbox Directions components, Geofabrik-hosted routing, and commercial hosted OSRM APIs. That makes osrm-backend one of the most visible OSM packages outside the data-processing niche because it sits directly behind user-facing routing applications.
Operators typically download an OSM PBF extract, run `osrm-extract` with a Lua profile such as car, bicycle, or foot, preprocess with the MLD pipeline using `osrm-partition` and `osrm-customize` or the CH pipeline using `osrm-contract`, then run `osrm-routed` to expose the API.
Application developers call OSRM for fastest-route geometry, nearest-road snapping, many-to-many duration or distance tables, noisy GPS trace matching, heuristic trip ordering, and vector tiles containing routing metadata. Profile customization is a key operational feature because it lets a deployment encode vehicle, bicycle, pedestrian, or custom routing rules.
osrm-backend is package-nerd catnip because it is both a research-to-production story and a packaging stress test: modern C++, heavy preprocessing, Lua profiles, Docker images, Node bindings, and a public HTTP API wrapped around graph algorithms such as contraction hierarchies and multi-level Dijkstra.
security posture
No matching local secret-handling manifest was found for osrm-backend. Nucleus package metadata is still published here so future coverage has a stable package URL.
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 |
|---|---|---|---|
osrm-components | cli | global executable | |
osrm-contract | cli | global executable | |
osrm-customize | cli | global executable | |
osrm-datastore | cli | global executable | |
osrm-extract | cli | global executable | |
osrm-io-benchmark | cli | global executable | |
osrm-partition | cli | global executable | |
osrm-routed | 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/Project-OSRM/osrm-backend
install metadata
| Package key | brew:osrm-backend |
|---|---|
| Version | 26.7.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/osrm-backend |
| Homepage | https://project-osrm.org/ |
| Repository | https://github.com/Project-OSRM/osrm-backend |
| Upstream docs | https://github.com/Project-OSRM/osrm-backend#readme |
| License | BSD-2-Clause |
| Source archive | https://github.com/Project-OSRM/osrm-backend/archive/refs/tags/v26.7.2.tar.gz |
| Last updated | 2026-07-04T09:47:24Z |
| Pulse | updated |
| Dependencies | boost, libarchive, lua, tbb |
| Build dependencies | cmake, flatbuffers, fmt, libosmium, pkgconf, protozero, rapidjson, sol2, vtzero |
| 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 | osrm-backend |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| 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.
osrm-backend
nix profile install nixpkgs#osrm-backendsource 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.