Skip to content

Quick start

Elysia is a TypeScript backend framework optimized for Bun. You can also run it on Node.js or any runtime that supports Web Standard Request.

Install Bun using the command for your operating system.

Terminal window
curl -fsSL https://bun.com/install | bash

Open a new terminal and check the installation:

Terminal window
bun --version

You can create a project using bun create elysia.

The template use latest but we want to use the rc version of Elysia v2 instead.

Terminal window
bun create elysia
cd app
bun add elysia@rc

Start the server:

Terminal window
bun run dev

Open localhost:3000. You should see Hello Elysia.

Type to search the documentation.

    Up arrowDown arrow to navigateEnter to selectEscape to close