AgentKit
ReferenceCLI commands
BetaYou are reading docs for the beta channel (2.4.1-beta.1) — updated automatically on every beta release.Switch to stable →

CLI commands

ak kit install-path

Print the resolved OS install path for a kit

Print the canonical install path where ak kit init would place the kit plugin. Respects the AGENTKIT_PLUGIN_DIR environment variable override.

Who it's for: Power devs scripting installs; users sanity-checking where files land.

When to use it: Before running ak kit init if you want to confirm the destination, or in scripts that need the path without performing the install.

What changes on disk: Read-only.

Usage

ak kit install-path <kit-name> [flags]

Examples

ak kit install-path engineer            # prints ~/.claude/plugins/ak-engineer
ak kit install-path engineer --json     # {"kit":"engineer","path":"..."}

Flags

FlagDescription
-h, --helphelp for install-path
--jsonEmit machine-readable JSON (implies --no-interactive)
--no-interactiveDisable interactive prompts (CI-safe)
-q, --quietSuppress non-error output on stderr
-V, --verboseExtra diagnostic output on stderr (loses to --quiet)
-y, --yesAssume yes for all prompts

Output modes

ModeBehavior
prettydefault on TTY (colors, ASCII markers)
plainauto when stdout piped or --no-interactive
json--json (single-object envelope, NDJSON-safe)

Exit codes

CodeMeaning
0success
1runtime error
2invalid flags
3user-cancel (SIGINT, prompt-cancel)
1empty or missing kit name argument
  • ak kit — Kit management commands

On this page