Quick Start
Elysia is a TypeScript backend framework with multiple runtime support but optimized for Bun.
However, you can use Elysia with other runtimes like Node.js.
Bun
Elysia is optimized for Bun which is a JavaScript runtime that aims to be a drop-in replacement for Node.js.
You can install Bun with the command below:
bash
curl -fsSL https://bun.sh/install | bashbash
powershell -c "irm bun.sh/install.ps1 | iex"Auto Installation
We recommend starting a new Elysia server using bun create elysia, which sets up everything automatically.
bash
bun create elysia appOnce done, you should see the folder name app in your directory.
bash
cd appStart a development server by:
bash
bun devNavigate to localhost:3000 should greet you with "Hello Elysia".
TIP
Elysia ships you with dev command to automatically reload your server on file change.