Skip to content

Installation

Lunibee is designed to be used with the Bun runtime.

Ensure you have Bun installed on your machine (v1.2.0 or later):

Terminal window
bun --version

If you need to install Bun:

Terminal window
# macOS and Linux
curl -fsSL https://bun.sh/install | bash
# Windows (PowerShell)
powershell -c "irm bun.sh/install.ps1 | iex"

Inside your project directory, add lunibee:

Terminal window
bun add lunibee

Lunibee requires modern TypeScript settings. Create or update your tsconfig.json:

{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"strict": true,
"skipLibCheck": true,
"types": ["bun"]
}
}

If you only need specific packages (for example, just the REST client or builders for edge serverless functions):

Terminal window
bun add lunibee @lunibee/builders