# Install tml with Homebrew, apt, Nix

Tiny markup language for terminal output. Version 0.7.1 via Homebrew; verified 2026-07-26. Also installable with debian: sudo apt install golang-github-liamg-tml-dev.

## Install

```sh
sudo av install brew:tml
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tml
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install tml
```

  Evidence: Debian stable package indexes: tml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#tml
```

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

## Package facts

- **Package key:** brew:tml
- **Package manager:** Homebrew
- **Version:** 0.7.1
- **Source summary:** Tiny markup language for terminal output
- **Homepage:** <https://github.com/liamg/tml>
- **Repository:** <https://github.com/liamg/tml>
- **Last updated:** 2026-07-26T00:50:42+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- tml (alias)

## Install behavior

- Bottle: not available

## Freshness

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

tml, short for Terminal Markup Language, is a Go module and standalone binary for writing colored and formatted terminal output with tag-like markup.

### Project history

The project is intentionally small. Its official README presents tml as both a Go library and a CLI that reads tagged text and renders terminal color and attributes, making shell and Go output easier to read without manually writing escape sequences.

### Adoption history

The supplied source facts show tml packaged in Homebrew and Nix, and as a Debian/Ubuntu Go development package. That adoption pattern reflects a dual identity: a command-line helper for shell users and a library dependency for Go packages.

### How it is used

tml is used by piping text containing tags to the binary or by calling the Go package from an application. The README documents foreground colors, background colors, and attributes such as bold, dim, italic, underline, blink, reverse, hidden, and strikethrough.

### Why package nerds care

tml is package-nerd useful because it offers a tiny, installable alternative to bespoke ANSI escape handling. It is especially relevant to developers building small CLIs who want readable terminal output code.

### Timeline

- 2024: The GitHub project page lists v0.7.0 as the latest release, dated April 24, 2024.
- 2026: The batch source facts list Homebrew, Debian, Ubuntu, and Nix package entries.

### Related projects

- Go command-line applications are the primary library audience described by the README.
- Shell scripts are the primary standalone-binary audience described by the README.

### Sources

- <https://github.com/liamg/tml#readme>
- input.source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

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

## Other Package-Manager Records

- Debian apt - golang-github-liamg-tml-dev - 0.7.0-1: normalized package name match | Debian stable package indexes: golang-github-liamg-tml-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | terminal markup language library for Go | https://github.com/liamg/tml
- Debian apt - tml - 0.7.0-1+b5: normalized package name match | Debian stable package indexes: tml from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | terminal markup language | https://github.com/liamg/tml
- Nix - tml: normalized package name match | nixpkgs package indexes: pkgs/by-name/tm/tml/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - golang-github-liamg-tml-dev - 0.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: golang-github-liamg-tml-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal markup language library for Go | https://github.com/liamg/tml
- Ubuntu apt - tml - 0.6.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: tml from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal markup language | https://github.com/liamg/tml


## Combined YAML source

View the package source record on GitHub. [combined/tml.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tml.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
