Skip to main content

CLI Overview

The @policy-kit/cli package provides a command-line interface for common policy operations — initializing, deploying, simulating, inspecting, and removing policies.

Installation

Quick Reference

Global Options

Environment Variables

The CLI reads configuration from environment variables:
Use a .env file in your project root. The CLI automatically loads it.