API reference

API, CLI, and package export reference.

Edit on GitHub

These pages are the API, CLI, and package surfaces. Start with options and init, then open the package that matches your stack.

Configuration

These pages cover options, keywords, schema shapes, and the env object.

Commands

The arkenv package is the CLI. Import validation from @arkenv/core or @arkenv/standard.

Packages

These pages cover the runtime engines and framework plugins.

Global flags

These flags apply to every ArkEnv CLI command.

--yes / -y

Skip interactive prompts and use defaults. The CLI also forwards this flag to subprocesses it starts, including package-manager installs.

Use --yes in scripts. Prefer --agent when a machine must also get JSON on stdout.

--quiet / -q

Suppress normal log output. On failure, the CLI still captures logs so you can diagnose the run.

--json / -j

Write structured JSON to stdout instead of human-readable text.

--agent

Non-interactive, machine-readable mode for AI agents. This is a macro for --yes --quiet --json. It does not imply --force; pass --force yourself if you accept overwriting generated files.

--help / -h

Print CLI help.

Next steps