Jump to content

TOML

From ArchWiki

TOML (Tom's Obvious, Minimal Language) is a configuration file format designed to be minimal and human-readable, while mapping easily to data structures in most programming languages. It is commonly used in the Rust ecosystem and by various Linux tools.

Overview

TOML files use a simple key = "value" syntax, with support for tables, arrays, and nested structures. The format is intended as an alternative to INI file, YAML, and JSON.

The official specification is maintained at toml.io.

Usage on Arch Linux

Several applications and tools available in Arch Linux use TOML for configuration, including:

  • Rust projects (Cargo.toml)
  • Neovim plugin managers
  • Starship prompt (~/.config/starship.toml)
  • Zellij terminal multiplexer
  • Podman configuration files

Tools

Packages available in the repositories and AUR for working with TOML include:

See also