Getting Started
Overview
Section titled “Overview”This guide walks through creating an organization, defining a flag, and evaluating it from your application.
Prerequisites
Section titled “Prerequisites”- Node.js 20+
- pnpm
1. Install the CLI
Section titled “1. Install the CLI”pnpm add -g @shipdit/cli2. Authenticate
Section titled “2. Authenticate”shipd auth login3. Define Your First Flag
Section titled “3. Define Your First Flag”Create shipd.config.ts in your project root:
import { defineFlags } from "@shipdit/config";
export default defineFlags({ "my-first-flag": { type: "boolean", default: false, },});4. Push and Evaluate
Section titled “4. Push and Evaluate”shipd pushSee the SDK docs for evaluating flags in your application.