# Nickel

> Better configuration for less

Source: https://talira.ai/catalog/nickel-6h57zkq8
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Programming language
- Categories: [developer tools / programming languages / configuration](https://talira.ai/categories/developer-tools/programming-languages/configuration)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Typing: Gradual[^2]
- Runs as: Interpreted[^2]
- Paradigms: Functional, configuration[^2]
- Latest release: 1.18.0 (19 Sep 2026)[^3]
- Backed by: [Tweag](https://talira.ai/orgs/tweag.md)

Nickel is a configuration language from Tweag for generating static configuration files (JSON, YAML, TOML and the like) for other systems: in essence, JSON with functions. Configurations are built from small records merged into larger ones, with metadata such as documentation and defaults carried through the merge. It has a sound gradual type system, so you can statically check functions with type inference while validating plain data at run time, and contracts that act as schemas you write, combine and attach with type-like annotations. Nickel is an evolution of the Nix language's ideas, and Tweag publishes integrations for Kubernetes, Terraform and Bazel. The `nickel` CLI is the reference interpreter, written in Rust and embeddable from other languages, with a REPL, a language server and a formatter. MIT licensed.

## Links

- Website: https://nickel-lang.org/
- GitHub: https://github.com/https://github.com/tweag/nickel
- Docs: https://nickel-lang.org/user-manual/introduction

## Libraries for Nickel

Talira doesn't list any yet.

## Problems it solves

- generate complex JSON or YAML configuration without copy-paste
- a configuration language with optional static types and schema validation
- which config language should we use instead of templated YAML
- validate configuration data against schemas I write myself
- split infrastructure configuration into reusable modules that merge

## Features

- records merged into larger configurations, with metadata
- sound gradual typing with type inference
- contracts as composable schemas
- first-class functions
- export to JSON, YAML and TOML
- REPL, language server and formatter
- integrations for Kubernetes, Terraform and Bazel

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.68 out of 1.
Signals: maintenance 1.00, adoption 0.70, momentum 0.46, community 0.81, backing 0.30, extensibility 0.20.

- last commit yesterday
- 72 commits in the last 90 days
- latest release 1.18.0 2 months ago
- 3.0k GitHub stars
- 102 contributors
- backed by Tweag

## Alternatives

- [Pkl](https://talira.ai/catalog/pkl-85gnh4vy.md): A configuration-as-code language with rich validation and tooling
- [CUE](https://talira.ai/catalog/cue-3grjf0fr.md): Validate, define, and use dynamic and text-based data
- [Jsonnet](https://talira.ai/catalog/jsonnet-j43k4twn.md): A configuration language for app and tool developers
- [KCL](https://talira.ai/catalog/kcl-hq9kgy2r.md): An open-source constraint-based record and functional language for configuration and policy
- [HCL](https://talira.ai/catalog/hcl-pczpmjqa.md): The HashiCorp configuration language
- [Starlark](https://talira.ai/catalog/starlark-wvv3bmfb.md): A Python dialect designed as a configuration language, made for Bazel

## Sources

[^1]: https://github.com/tweag/nickel/blob/master/LICENSE (checked 24 Nov 2026)
[^2]: https://github.com/tweag/nickel (checked 24 Nov 2026)
[^3]: https://github.com/tweag/nickel/releases/tag/1.18.0 (checked 24 Nov 2026)
