---
title: "Kapitan eval: Evaluate a Jsonnet File"
description: "Run the kapitan eval command to evaluate a standalone Jsonnet file and print the result as YAML or JSON output."
---

# :kapitan-logo: **CLI Reference** | `kapitan eval`

## `kapitan eval`

Evaluates a standalone Jsonnet file and prints the result, without running a full compile. Useful for quickly testing Jsonnet snippets.

## Flags

The table below is generated from **Kapitan**'s argument parser at docs-build time, so it always matches the installed version. See also the [global flags](kapitan_flags.md) accepted by every command, and the [`.kapitan` dotfile](kapitan_dotfile.md) to set any of these permanently.

<!-- kapitan-flags:command:eval -->
