---
title: "Klipper Studio CLI (klipperstudio-cli)"
url: https://klipperstudio.com/developers/cli
description: "Official command-line tool for Klipper Studio on npm: klipperstudio-cli, command klipperstudio. Plans, estimates, most-replayed moments, search and clip plans from a terminal, with --json."
---

# Klipper Studio CLI

The official command-line tool: npm package **`klipperstudio-cli`**, command **`klipperstudio`**. Node 18+.
Built for people and coding agents working in a terminal. Source:
[github.com/zenkriztao/klipperstudio-sdk](https://github.com/zenkriztao/klipperstudio-sdk) (MIT).

## Install or run once

```bash
npm install -g klipperstudio-cli
npx klipperstudio-cli plans
```

## Commands

```bash
klipperstudio plans [--kind time_plan|credit_pack]
klipperstudio plan <code>
klipperstudio features
klipperstudio estimate <minutes> [--account free|credits|time_plan] [--remove-watermark]
klipperstudio moments <youtube-url>
klipperstudio search <words…> [--kind page|developer] [--limit 10]
klipperstudio page <path>
klipperstudio clip-plan create --videos 20 --minutes 60 [--horizon 30] [--platform tiktok …]
klipperstudio clip-plan get <id>
klipperstudio clip-plan update <id> [--videos N] [--minutes M] [--horizon D]
```

Global flags: `--json` (raw JSON, for scripts and agents), `--sandbox` (demo data), `--help`, `--version`.
Exit codes: `0` success, `1` API error (the problem `code` is printed), `2` usage error.

```bash
klipperstudio estimate 45 --json | jq .credits
```
