@nakshora/cli is the command-line front end to the Nakshora 3.1 engine. It is the fastest way to compile, inspect and debug.
terminal
npm install -D @nakshora/cli
npx nakshora --helpCommands#
| Command | What it does |
|---|---|
cli/init|nakshora init | Create a starter nakshora.config.js (and optionally an entry CSS) in the current directory. |
cli/build|nakshora build | Compile CSS from your content: full or JIT, minified, with source maps and stats. |
cli/dev|nakshora dev | Watch mode — rebuild on every change, plus --serve for a dependency-free dev server with CSS hot-swap. |
cli/doctor|nakshora doctor | Diagnose your setup: config validity, content globs, versions, common mistakes. |
cli/migrate|nakshora migrate | Port a Tailwind CSS project to Nakshora automatically: config, at-rules and dependencies. |
cli/lsp|nakshora lsp | Run the language server: completions, hover docs, diagnostics and color previews for any LSP editor. |
cli/inspect|nakshora inspect | Explain a class: show the exact CSS a utility (including variants and arbitrary values) produces. |
cli/export-ai|nakshora export:ai | Export the machine-readable utility corpus (ai/corpus.json) for LLM training and RAG. |
Tip. Every command supports
--help for flags. The CLI is also how you run the cli/lsp|language server.