Installation
Install the Refine CLI globally:Quick Start
Create a new Refine project:Available Commands
The Refine CLI provides the following commands:Project Management
- create - Create a new Refine application with
create-refine-app - dev - Start the development server
- build - Build your application for production
- run - Run custom scripts or commands
- start - Start the production server
Code Generation
- add - Add resources, providers, or integrations to your project
Maintenance
- update - Update Refine packages to the latest versions
Global Options
All commands support these global options:Output the current version of the CLI
Output usage information for any command
Usage
View available commands:Platform Support
The CLI automatically detects your project type and runs the appropriate commands for:- Vite - Modern React development
- Next.js - React framework with SSR
- Remix - Full-stack React framework
- Craco - Create React App with custom config
--platform flag on supported commands.