Skip to main content

Command line

You can install React Preview CLI with NPM / Yarn / PNPM:

$ npm install --dev @reactpreview/cli # NPM$ yarn add -D @reactpreview/cli # Yarn$ pnpm add -D @reactpreview/cli # PNPM

You can then run reactpreview in your project directory. This will start up the React Preview server.

See it in action#