Installation
Get up and running with Pulsabase in minutes by installing the CLI and your preferred SDK.
Install the CLI
Section titled “Install the CLI”The Pulsabase CLI is the main tool for managing your projects, syncing schemas, and deploying your app.
npm install -g @pulsabase/cliyarn global add @pulsabase/clipnpm add -g @pulsabase/cliVerify the installation:
pulsabase --versionAuthenticate the CLI
Section titled “Authenticate the CLI”Before using the CLI with a project, authenticate with your Pulsabase account:
pulsabase loginThis opens a browser window using a secure OAuth2 PKCE flow. Your tokens are stored locally in ~/.pulsabase/credentials.json (with chmod 600 permissions).
Install an SDK
Section titled “Install an SDK”npm install @pulsabase/sdk reflect-metadataMake 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';Add Pulsabase to your pubspec.yaml:
dependencies: pulsabase: ^1.0.0Then run:
flutter pub getNext Steps
Section titled “Next Steps”- Quickstart — build your first app in 5 minutes
- Models & Decorators — define your data schema
- CLI Reference — all CLI commands and options