create-rari-app
v0.4.25
Published
Create Runtime Accelerated Rendering Infrastructure (rari) applications with no build configuration
Downloads
1,756
Maintainers
Readme
create-rari-app
Scaffold a new rari application with zero configuration
The fastest way to get started with rari, a high-performance React Server Components framework powered by Rust.
Usage
Create a new rari application interactively:
npm create rari-app@latestOr specify a project name directly:
npm create rari-app@latest my-appWith other package managers:
# pnpm
pnpm create rari-app
# yarn
yarn create rari-app
# bun
bun create rari-appWhat You Get
Running create-rari-app sets up a complete rari project with:
- App Router structure - Pre-configured file-based routing
- TypeScript support - Full type safety out of the box
- Development server - Hot module reloading for instant feedback
- Example components - Server and client component examples
- Production ready - Optimized build configuration included
Project Structure
my-app/
├── app/
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home page
│ └── global.css # Global styles
├── public/ # Static assets
├── package.json
├── tsconfig.json
└── vite.config.tsGetting Started
After creating your project:
cd my-app
npm install
npm run devYour app will be running at http://localhost:5173.
Available Commands
npm run dev- Start development server with hot reloadingnpm run build- Build for productionnpm run start- Start production servernpm run typecheck- Run TypeScript type checking
Templates
create-rari-app includes a default template with:
- React 19 with Server Components
- TypeScript configuration
- Vite integration
- Example pages and components
- CSS support
Documentation
Visit rari.build/docs for:
- Complete documentation
- Guides and tutorials
- API reference
- Deployment guides
- Performance tips
Community
- Discord - Join our community
- GitHub - rari-build/rari
- Documentation - rari.build/docs
Troubleshooting
Installation Issues
If you encounter issues during installation:
- Ensure you're using Node.js 22 or higher:
node --version - Clear npm cache:
npm cache clean --force - Try with a different package manager (pnpm, yarn, or bun)
Platform-Specific Binaries
rari automatically downloads the correct binary for your platform. Supported platforms:
- macOS (Intel and Apple Silicon)
- Linux (x64 and ARM64)
- Windows (x64)
If the binary download fails, check your internet connection and firewall settings.
Contributing
We welcome contributions! See our Contributing Guide for details.
License
MIT License - see LICENSE for details.
