---
title: "nctl transform"
diataxis: reference
applies_to:
  product: "nctl"
audience: ["developer","platform-engineer"]
last_updated: 2026-03-07
url: https://docs.nirmata.io/docs/nctl/commands/nctl_transform/
---

## nctl transform

Transform resource manifests to json

### Synopsis

Transform resource manifests (Dockerfile, Terraform plan, Terraform config, Terraform state, Kubernetes) to json. This helps write kyverno json policies for these resources

```bash
nctl transform [flags]
```

### Options

```text
  -h, --help                 help for transform
  -o, --output-file string   Output file
  -r, --resource strings     Path to resource file
```text

### Options inherited from parent commands

```text
  -v, --v Level   number for the log level verbosity
```

### SEE ALSO

* [nctl](nctl.md)	 - nctl is the command line interface for Nirmata


