Skip to content
Latest (currently 2026.7.0) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentregistry.

arctl apply

Page as Markdown

Apply reads a YAML file (or stdin with -f -) containing one or more resource documents and applies them via POST /v0/apply.

Each resource is applied atomically; the server reports per-resource status. Best-effort: per-resource errors are reported without aborting the batch.

Usage

arctl apply -f FILE [flags]

Example:

arctl apply -f agent.yaml
arctl apply -f stack.yaml --dry-run
cat stack.yaml | arctl apply -f -

Command-specific flags

--dry-run: Validate and simulate without mutating state.
-f, --filename stringArray: YAML file to apply (repeatable; use - for stdin).

Global flags

-h, --help: Display help information for the command.
--registry-token string: Registry bearer token (defaults to value of ARCTL_API_TOKEN env var).
--registry-url string: Registry URL (overrides ARCTL_API_BASE_URL env var; defaults to http://localhost:12121).