Automic VaultAutomic Vault

brew

Install osrm-backend with Homebrew, Nix

High performance routing engine. Version 26.7.2 via Homebrew; verified 2026-07-04.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install osrm-backend

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#osrm-backend

nixpkgs package indexes · pkgs/by-name/os/osrm-backend/package.nix · source: api.github.com

overview

Package summary

High performance routing engine

Commands and aliases

  • osrm-components
  • osrm-contract
  • osrm-customize
  • osrm-datastore
  • osrm-extract
  • osrm-io-benchmark
  • osrm-partition
  • osrm-routed

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • July 9, 2010: Dennis Luxen announced the initial public release on the OSM-dev mailing list. November 2011: Luxen and Christian Vetter presented real-time routing with OpenStreetMap data at ACM GIS. November 2013: Wired profiled OSRM as a self-hostable alternative routing stack. 2015 onward: project leadership and maintenance became more community and Mapbox influenced, with later maintenance transitions documented by the OSM wiki.

Related projects

  • The Project-OSRM organization also maintains osrm-frontend for the demo map, osrm-text-instructions for turn instructions, and Docker images for backend deployment. Valhalla is the other major open routing engine named in OSRM's maintenance history.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 9 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
osrm-componentscliglobal executable
osrm-contractcliglobal executable
osrm-customizecliglobal executable
osrm-datastorecliglobal executable
osrm-extractcliglobal executable
osrm-io-benchmarkcliglobal executable
osrm-partitioncliglobal executable
osrm-routedcliglobal executable

freshness

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

page generated2026-07-08
manager version26.7.2
manager updated2026-07-04
local dataok
upstreamcurrent
latest detectedv26.7.2

https://github.com/Project-OSRM/osrm-backend

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:osrm-backend
Version26.7.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/osrm-backend
Homepagehttps://project-osrm.org/
Repositoryhttps://github.com/Project-OSRM/osrm-backend
Upstream docshttps://github.com/Project-OSRM/osrm-backend#readme
LicenseBSD-2-Clause
Source archivehttps://github.com/Project-OSRM/osrm-backend/archive/refs/tags/v26.7.2.tar.gz
Last updated2026-07-04T09:47:24Z
Pulseupdated
Dependenciesboost, libarchive, lua, tbb
Build dependenciescmake, flatbuffers, fmt, libosmium, pkgconf, protozero, rapidjson, sol2, vtzero
Uses from macOSbzip2, expat
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameosrm-backend
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

osrm-backend

nix profile install nixpkgs#osrm-backend
  • normalized package name match
  • Matched by: Osrm Backend
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/os/osrm-backend/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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