Installation
Install the Velu CLI and learn the commands you'll use day to day.
The Velu CLI scaffolds a new project and runs a local preview server. It's
published on npm as @veluai/velu.
Install
Velu needs Node.js 18 or newer. Check your version:
node --version
If you don't have it, install it from nodejs.org.
Install globally to use the velu command anywhere:
npm i -g @veluai/velu
Or skip the install and run any command on demand with npx @veluai/velu.
velu --version
Commands
| Command | What it does |
|---|---|
velu init <name> | Scaffold a new project into ./<name> with a starter theme and example pages. |
velu migrate mintlify [dir] | Migrate a Mintlify project into a new Velu directory (beta). Supports --out, --dry-run, --strict, and --json. |
velu dev [dir] | Start the local preview server with live reload. Defaults to the current folder. |
Coming from Mintlify? See Migrate from Mintlify (beta).
Building and hosting your production site is handled by Velu's platform, not
the local CLI. Use velu dev to preview locally, then publish through the
dashboard.
Keep the CLI current
Running with npx @veluai/velu always fetches the latest published version. If
you installed globally, update with npm:
npm i -g @veluai/velu@latest
Next step
Start the dev server and preview your site with live reload as you write.
