# Install glom with Homebrew, MacPorts, apt

Declarative object transformer and formatter, for conglomerating nested data. Version 25.12.0 via Homebrew; verified from local package data. Also installable with ubuntu: sudo apt install glom.

## Install

```sh
sudo av install brew:glom
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install glom
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install glom
```

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

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install glom
```

  Evidence: Ubuntu 24.04 LTS package indexes: glom from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Package facts

- **Package key:** brew:glom
- **Package manager:** Homebrew
- **Version:** 25.12.0
- **Source summary:** Declarative object transformer and formatter, for conglomerating nested data
- **Homepage:** <https://glom.readthedocs.io/en/latest/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- glom (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 25.12.0
## Project history and usage

glom is a Python library and CLI for declarative access, transformation, validation, and restructuring of nested data.

### Project history

Mahmoud Hashemi released glom publicly in 2018, with the README pointing to an original announcement post and a PyCon 2018 lightning talk from the same launch period. The project adopted CalVer-style releases and documents its growth in a changelog focused on backwards compatibility.

### Adoption history

glom found a place in Python data plumbing where nested dictionaries, JSON responses, ORM objects, and mixed object/list structures make direct indexing brittle. Its Read the Docs site, PyPI package, command-line interface, and distribution through package managers made it usable both as a library and as a shell inspection tool.

### How it is used

Practitioners use glom specs to pull values out of nested data, transform structures, validate shapes with Match, mutate data with Assign and Delete, stream through Iter, and inspect JSON or TOML at the command line.

### Why package nerds care

glom matters to package nerds because it is a Python library that also ships a useful executable. Installing the package gives both importable APIs and a data-transformation CLI, so package managers expose a small but practical bridge between Python code and shell workflows.

### Timeline

- 2018: v18.0.0 public release shipped with tutorial and error-system work.
- 2020: v20.7.0 added Match mode, validation, and a documentation refactor.
- 2022: v22.1.0 introduced optional star and recursive-star path expansion.
- 2023: v23.5.0 added TOML support to the CLI.
- 2024: v24.11.0 added Python 3.12 support and a CLI scalar flag.

### Related projects

- The documentation compares glom with jq, XPath/XSLT, SQL, GraphQL, templating systems, and Python validation libraries, while keeping Python specs as the central interface.

### Sources

- <https://github.com/mahmoud/glom>
- <https://glom.readthedocs.io/>
- <https://glom.readthedocs.io/en/stable/cli.html>
- <https://pypi.org/project/glom/>
- <https://raw.githubusercontent.com/mahmoud/glom/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/mahmoud/glom/master/README.md>


## Security Notes

narrow executable package without higher-risk signals.

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

## Other Package-Manager Records

- Ubuntu apt - glom - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: glom from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | database designer and user interface | http://www.glom.org/
- Ubuntu apt - glom-doc - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: glom-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | database designer and user interface - documentation | http://www.glom.org/
- Ubuntu apt - glom-utils - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: glom-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command-line utilities for Glom | http://www.glom.org/
- Ubuntu apt - libglom-1.30-0 - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: libglom-1.30-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Glom library (a database designer and user interface) - library | http://www.glom.org/
- Ubuntu apt - libglom-1.30-dev - 1.30.4-7build8: normalized package name match | Ubuntu 24.04 LTS package indexes: libglom-1.30-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Glom library (a database designer and user interface) - header files | http://www.glom.org/
- MacPorts - glom: normalized package name match | MacPorts ports tree: gnome/glom/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/glom.yml](https://github.com/mxcl/pkgdb/blob/main/combined/glom.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
