Skip to content

Search docs

Search Cortex documentation pages and headings.

Developer Tools

Cortex CLI

Use the CLI for local plugin and theme development against a real Cortex vault.

On this page

The CLI mirrors the extension loop: create a project, run against a local vault, build, validate, and prepare artifacts when the work is ready.

Create

Start with a small plugin or theme project. Keep the project close to the vault you use for testing so the feedback loop stays short.

npm install -g @cortex.md/clicortex plugin create github-emojicd github-emojibun install

Dev vault

Use a real local folder while developing. The goal is to test the same Markdown files, commands, and views that a user will touch.

cortex plugin dev --vault ~/notes

Build and validate

Build production output and validate structure before publishing or sharing artifacts.

cortex plugin buildcortex plugin validatecortex plugin publish