any2nix-cli
Nix Converter CLI
What is any2nix-cli?
any2nix-cli is a command-line interface (CLI) for translating text and files from various configuration formats to Nix.

Supported formats
any2nix-cli supports converting from the following formats into Nix expressions:
Installation
Install with Cargo
Install on macOS
macOS builds of any2nix-cli are available at the releases tab.
Install on Linux
Look for your favorite package manager in the list of supported repositories:
Additionally, Linux builds are available at the releases tab.
Install on Windows
Windows builds of any2nix-cli are available at the releases tab.
Run using Docker
A docker image is available for any2nix-cli.
Agent Skill
You can install the any2nix skill into agent harnesses:
Crate features
All format parsers are enabled by default. You can disable default features and enable only the formats or integrations you need:
| Feature | Description | Default |
|---|---|---|
ini |
Support for converting INI strings | Yes |
json |
Support for converting JSON strings | Yes |
toml |
Support for converting TOML strings | Yes |
yaml |
Support for converting YAML strings | Yes |
License
All code is licensed GPL 3.0 or later. The distribution workflow is based on cargo-dist and is thus licensed MIT or Apache 2.0.
Anything that is not code is CC-BY-4.0.
This software family is REUSE compliant.