@nexus_js/cli
v0.9.20
Published
Nexus CLI — create, develop and build Nexus applications
Maintainers
Readme
Nexus CLI (nexus, create-nexus)
Command-line tools for Nexus — the full-stack web framework with islands architecture, Svelte 5 runes, and server actions.
- Documentation: https://nexusjs.dev
- Repository: github.com/bierfor/nexus
- Issues: github.com/bierfor/nexus/issues
Install
pnpm add -D @nexus_js/cli
# or
npm install -D @nexus_js/cliGlobal install (optional):
npm install -g @nexus_js/cliCommands
| Command | Description |
|--------|-------------|
| nexus dev | Start the development server with HMR |
| nexus build | Production build |
| nexus start | Run the production server |
| nexus studio | Open Nexus Studio (dev dashboard) |
| nexus routes | Print the route manifest |
| nexus check | TypeScript check |
| create-nexus <name> | Scaffold a new project |
New project
Recommended (works as long as @nexus_js/cli is on npm):
npm exec --package=@nexus_js/cli@latest -- create-nexus my-apppnpm dlx --package=@nexus_js/cli@latest create-nexus my-appShorthand pnpm create @nexus_js/nexus needs @nexus_js/create-nexus published; if you get 404, use the commands above.
After @nexus_js/create-nexus exists on npm:
npm create @nexus_js/nexus@latest my-apppnpm create @nexus_js/nexus my-appnpx @nexus_js/create-nexus@latest my-appnpm install -g @nexus_js/cli
create-nexus my-appSee the full documentation for configuration, routing, .nx components, and deployment.
License
MIT © Nexus contributors
