Skip to content

Installation

Get up and running with Pulsabase in minutes by installing the CLI and your preferred SDK.

The Pulsabase CLI is the main tool for managing your projects, syncing schemas, and deploying your app.

Terminal window
npm install -g @pulsabase/cli

Verify the installation:

Terminal window
pulsabase --version

Before using the CLI with a project, authenticate with your Pulsabase account:

Terminal window
pulsabase login

This opens a browser window using a secure OAuth2 PKCE flow. Your tokens are stored locally in ~/.pulsabase/credentials.json (with chmod 600 permissions).

Terminal window
npm install @pulsabase/sdk reflect-metadata

Make sure experimentalDecorators and emitDecoratorMetadata are enabled in your tsconfig.json:

{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}

Also import reflect-metadata at the very top of your entry file (e.g. main.ts or index.ts):

import 'reflect-metadata';