Skip to content

rescript-lang/create-rescript-app

Repository files navigation

create-rescript-app

Quickly create new ReScript apps from project templates:

npm create rescript-app@latest

(note: @latest is important, otherwise npm may run an old version) or

yarn create rescript-app

or

pnpm create rescript-app@latest

or

bun create rescript-app

You can also skip the interactive prompts by passing a project name and template flag. Supported templates are defined here.

With npm, pass the template flag after --:

npm create rescript-app@latest my-app -- --template vite

With Yarn, pnpm, and Bun, you can pass the template flag directly:

yarn create rescript-app my-app --template vite

Add to existing project

If you have an existing JavaScript project containing a package.json, you can execute one of the above commands directly in your project's directory to add ReScript to your project.

Packages

 
 
 

Contributors