create-refine-app CLI tool or the browser-based scaffolder.
Prerequisites
Before installing Refine, make sure you have the following:- Node.js version 20 or higher
- A package manager: npm, yarn, pnpm, or bun
Refine requires Node.js 20 or higher. You can check your Node.js version by running
node -v in your terminal.Quick installation
The fastest way to create a new Refine project is using thecreate-refine-app CLI tool:
Interactive setup
When you runcreate-refine-app, you’ll be guided through an interactive setup process:
Select your platform
Choose your preferred development platform:
- Vite - Fast, modern build tool (recommended)
- Next.js - React framework with SSR support
- Remix - Full-stack React framework
Pick a UI framework
Select a UI library or go headless:
- Headless - Build your own UI with complete freedom
- Ant Design - Enterprise-grade UI components
- Material UI - Google’s Material Design components
- Mantine - Modern React component library
- Chakra UI - Simple and modular component library
Choose a data provider
Select your backend integration:
- REST API - Simple REST data provider
- GraphQL - GraphQL client integration
- Supabase - Open source Firebase alternative
- Strapi - Headless CMS
- NestJS - Progressive Node.js framework
- And 10+ more options
Browser-based scaffolder
Prefer to preview your setup before downloading? Use Refine’s browser-based scaffolder:- Visit refine.dev
- Configure your project using the interactive UI
- Preview the generated code in real-time
- Download your customized project
Manual installation
If you prefer to add Refine to an existing React project, you can install the core package manually:Refine uses React Query (TanStack Query) for data fetching and state management, so it must be installed alongside
@refinedev/core.Additional packages
Depending on your setup, you may want to install additional packages: Data providers:Start development server
Once installation is complete, navigate to your project directory and start the development server:http://localhost:5173 (Vite) or http://localhost:3000 (Next.js/Remix).
What’s next?
Quick start tutorial
Build your first Refine app with a step-by-step guide
Project structure
Understand how Refine projects are organized
Core concepts
Learn the fundamental concepts behind Refine
Data providers
Connect Refine to your backend API