create-react-admin is a package that generates a react-admin app scaffolding using Vite. It is designed to work on most setups and produces predictable and consistent results. It’s the preferred way to create a new react-admin application.


Use it by running the following command:

npx create-react-admin@latest your-admin-name
# or
yarn create react-admin your-admin-name

The terminal will then ask you to choose:

  • a data provider
  • an auth provider
  • the names of the resources to add
  • the package manager to use to install the dependencies

The generated app will be similar to the one installed manually with Vite.js.

Once the installation is complete, you can run the app with:

npm run dev
# or
yarn dev