Installation
Create a new Flux project using the scaffold tool or set up manually.
Using the Scaffold Tool
Create a new project with the interactive setup:
npm create @zetafield/fluxOr with other package managers:
# pnpm
pnpm create @zetafield/flux
# yarn
yarn create @zetafield/flux
# bun
bun create @zetafield/fluxYou'll be prompted for:
- Project name
- Directory location
- Optional description
- Template choice (Empty, Minimal, or Blog)
To skip prompts and use defaults:
npm create @zetafield/flux --yesTemplates
- Empty - Package.json only, build from scratch
- Minimal - Basic homepage and layout (default)
- Blog - Complete blog with posts and layouts
Manual Setup
To set up manually:
- Create a new directory
- Initialize package.json
- Install Flux as a dependency @zetafield/flux
- Configure build scripts
Requirements
- Node.js 18 or higher
- Package manager (npm, pnpm, yarn, or bun)
Next Steps
- Navigate to your project directory
- Install dependencies
- Run npm run devto start development
See Quick Start for more details.