Skip to main content

Prerequisites

Bun (for CLI) - Install Bun
Node.js v19+ (for SDK) - Install Node.js
Git - For version control

Install the CLI

Verify Installation

You should see output like:

Install the Core SDK

In your project directory:
bash npm install @flagkit-io/core

Framework-Specific Packages

React

Coming soon - currently in development

Vue

Coming soon - currently in development

Next.js

FlagKit works out-of-the-box with Next.js using the core SDK. No additional package required.

Troubleshooting

If you get a “command not found” error, ensure your global npm bin directory is in your PATH:
If you encounter permission errors when installing globally:
FlagKit CLI requires Bun. Install it with:
Then restart your terminal or run:

Next Steps

Quick Start Guide

Initialize your first FlagKit project