@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
bash
npm install -D @nakshora/cli
npx nakshora --help

Commands#

CommandWhat it does
cli/init|nakshora initCreate a starter nakshora.config.js (and optionally an entry CSS) in the current directory.
cli/build|nakshora buildCompile CSS from your content: full or JIT, minified, with source maps and stats.
cli/dev|nakshora devWatch mode — rebuild on every change, plus --serve for a dependency-free dev server with CSS hot-swap.
cli/doctor|nakshora doctorDiagnose your setup: config validity, content globs, versions, common mistakes.
cli/migrate|nakshora migratePort a Tailwind CSS project to Nakshora automatically: config, at-rules and dependencies.
cli/lsp|nakshora lspRun the language server: completions, hover docs, diagnostics and color previews for any LSP editor.
cli/inspect|nakshora inspectExplain a class: show the exact CSS a utility (including variants and arbitrary values) produces.
cli/export-ai|nakshora export:aiExport 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.