Currently the Remix development server (
remix dev
) relies on Node.js APIs that Bun does not yet
implement. The guide below uses Bun to initialize a project and install dependencies, but it uses
Node.js to run the dev server.Initialize a Remix app with
create-remix
.
terminal
To start the dev server, run
bun run dev
from the project root. This will start the dev server using the remix dev
command. Note that Node.js will be used to run the dev server.
terminal
Open http://localhost:3000 to see the app. Any changes you make to
app/routes/_index.tsx
will be hot-reloaded in the browser.
To build and start your app, run
bun run build
terminal
bun run start
from the project root.
terminal
Read the Remix docs for more information on how to build apps with Remix.