Install the ctx CLI
Install globally
npm install -g @promptowl/contextnest-cli
The package installs with a flattened dependency tree — its runtime dependencies are bundled/flattened so a global install pulls a self-contained CLI rather than a deep node_modules graph.
Or run directly with npx
npx @promptowl/contextnest-cli@latest init
Verify
ctx --version
You should see a version string (e.g. 2.2.0).
Two identical binaries
The package exposes two commands that are the same tool: ctx (short, used throughout the docs) and contextnest (long form). Use whichever you prefer:
ctx --help
contextnest --help
Related pages
- Quick StartGet a Context Nest vault running in under 2 minutes. By the end, you'll have a versioned, queryable knowledge vault that any AI agent can read.
- Create a VaultStarter recipes scaffold a vault with documents, packs, and agent instructions tailored to a role:
- Query ContextContext Nest gives you two ways to pull from your vault: ctx resolve for a metadata list of matches, and ctx query for full, graph-aware context retrieval.
- CLI ReferenceThe Context Nest CLI (ctx) is a structured, versioned knowledge base your AI agents can query. It provides commands for setting up vaults, creating and…
- Vault Registry & Multi-VaultContextNest keeps a central vault registry so you can work with many nests from any directory. The registry maps a short alias to a nest — a local path or…