create command scaffolds a new Refine application with all the necessary configuration and dependencies.
Usage
Arguments
Name of your new project. If not provided, you’ll be prompted to enter one.
Options
Output the current version of create-refine-app
Display usage information
Specify a custom source of plugins
Specify a custom branch in source of plugins
Specify a preset to use for the project
Generate a project with random answers (quick start)
Get a clone of an example from the Refine repository. Optionally specify a destination.
Specify download type for source codeOptions:
zip | gitSpecify a project type to use
Disable telemetry data collection
Examples
Interactive Mode
Create a new project with interactive prompts:Output
Quick Start with Lucky Mode
Generate a project with random selections:Clone an Example
Start with an existing example:base-antd- Ant Design starterbase-chakra-ui- Chakra UI starterbase-mantine- Mantine starterbase-mui- Material UI starterbase-headless- Headless starter
Specify Project Type
Create a Next.js project:vite- Vite React appnextjs- Next.js appremix- Remix app
After Creation
Once your project is created:-
Navigate to the project directory:
-
Start the development server:
-
Open your browser at
http://localhost:5173(Vite) or the appropriate port for your project type.
Project Structure
A typical Refine project structure:What Gets Installed
The scaffolded project includes:- @refinedev/core - Core functionality
- @refinedev/cli - CLI tools (dev dependency)
- UI framework - Your chosen UI library (Ant Design, Material UI, etc.)
- Data provider - REST API, GraphQL, or other selected provider
- Router - React Router or framework-specific routing
- Build tool - Vite, Next.js, or Remix configuration