# Install martin with Homebrew, Nix

Blazing fast tile server, tile generation, and mbtiles tooling. Version 1.12.0 via Homebrew; verified 2026-07-07.

## Install

```sh
sudo av install brew:martin
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install martin
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#martin
```

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

## Package facts

- **Package key:** brew:martin
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/martin>
- **Version:** 1.12.0
- **Source summary:** Blazing fast tile server, tile generation, and mbtiles tooling
- **Homepage:** <https://martin.maplibre.org>
- **Repository:** <https://github.com/maplibre/martin>
- **Upstream docs:** <https://maplibre.org/martin/quick-start.html>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/maplibre/martin/archive/refs/tags/martin-v1.12.0.tar.gz>
- **Last updated:** 2026-07-07T20:34:52Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- martin (cli)
- martin-cp (cli)
- mbtiles (cli)
- martin (alias)
- martin-cp (alias)
- mbtiles (alias)

## Build dependencies

- node
- rust

## 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: 1.12.0
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/maplibre/martin
- Upstream latest detected: martin-v1.12.0 (current)
## Project history and usage

Martin is a Rust tile server and geospatial command-line toolkit for serving vector tiles from PostGIS databases and PMTiles or MBTiles files, plus generating and inspecting MBTiles data. In package-manager terms it sits at the intersection of web serving, GIS data plumbing, and map-tile build pipelines.

### Project history

The Martin repository was created in 2017 and its first public GitHub releases appeared in 2018. Early releases focused on PostGIS vector tile serving, function and table sources, TileJSON support, and a configuration-file workflow; version 0.2.0 added a command-line interface, making it more natural to package as a standalone server binary.

Martin later became part of the MapLibre ecosystem, with official documentation under MapLibre and a README that describes it as a lightweight tile server and toolset for PostGIS, PMTiles, MBTiles, styles, sprites, and glyphs. The project has continued active release work through the 1.x line, with GitHub showing 117 releases and a latest 1.11.0 release in June 2026.

### Adoption history

Martin's adoption is visible in its role as an installable CLI/server package rather than only a library. The supplied package metadata lists it in Homebrew and Nix, and the repository has several thousand GitHub stars and hundreds of forks, which is substantial for a specialized geospatial infrastructure tool.

Its MapLibre documentation and packaging make it attractive to teams building self-hosted vector-tile services, especially when they want one binary that can serve from live PostGIS data, static MBTiles or PMTiles archives, and generated supporting assets.

### How it is used

Typical usage is to start `martin` as a tile server, pointing it at data sources directly or through a YAML config file passed with `--config`. The config file can include database connection strings and environment-variable expansion, and Martin can generate a starting config with `--save-config`.

The bundled tools broaden the package beyond a daemon: `martin-cp` generates tiles in bulk into MBTiles, while `mbtiles` examines, copies, validates, compares, and diffs MBTiles files. That makes the formula useful both in long-running tile services and in offline tile-production jobs.

### Why package nerds care

Martin matters to package users because it compresses a lot of geospatial deployment friction into a single Rust binary: database-backed vector tiles, archive-backed tile serving, and MBTiles maintenance can all be installed with a normal package manager.

For Homebrew and Nix users, it is a good example of modern GIS infrastructure moving from heavyweight web stacks toward small, reproducible CLI/server artifacts.

### Timeline

- 2017: GitHub repository created.
- 2018: First public release series, including v0.1.0 and v0.2.0.
- 2018: v0.2.0 adds a command-line interface.
- 2026: GitHub lists Martin v1.11.0 as the latest release in June 2026.

### Related projects

- Martin is closely related to MapLibre, PostGIS, PMTiles, MBTiles, and Mapbox Vector Tile tooling.
- It overlaps with tile servers and map pipelines that need to publish vector tiles from live databases or portable tile archives.

### Sources

- <https://api.github.com/repos/maplibre/martin>
- <https://github.com/maplibre/martin>
- <https://github.com/maplibre/martin/releases?page=12>
- <https://maplibre.org/martin/config-file.html>
- source_facts.package-manager-url


## Security Notes

No matching local secret-handling manifest was found for martin. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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: config.yaml, file supplied with --config

## Credential files

- Unix: config.yaml, file supplied with --config
## Source Database Details

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

## Other Package-Manager Records

- Nix - martin: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/martin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [node](https://www.automicvault.com/pkg/brew/node/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [tippecanoe](https://www.automicvault.com/pkg/brew/tippecanoe/) - Shares av.db curated category or tags: cli, data, geospatial, mbtiles, vector-tiles.
- [imposm3](https://www.automicvault.com/pkg/brew/imposm3/) - Shares av.db curated category or tags: cli, data, geospatial, postgis.
- [gdal](https://www.automicvault.com/pkg/brew/gdal/) - Shares av.db curated category or tags: cli, data, geospatial.
- [geoserver](https://www.automicvault.com/pkg/brew/geoserver/) - Shares av.db curated category or tags: cli, data, geospatial.
- [gpsbabel](https://www.automicvault.com/pkg/brew/gpsbabel/) - Shares av.db curated category or tags: cli, data, geospatial.
- [h3](https://www.automicvault.com/pkg/brew/h3/) - Shares av.db curated category or tags: cli, data, geospatial.
- [libgeotiff](https://www.automicvault.com/pkg/brew/libgeotiff/) - Shares av.db curated category or tags: cli, data, geospatial.
- [librasterlite2](https://www.automicvault.com/pkg/brew/librasterlite2/) - Shares av.db curated category or tags: cli, data, geospatial.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
