Prerequisites
Bun (for CLI) - Install Bun
Node.js v19+ (for SDK) - Install Node.js
Git - For version control
Install the CLI
- npm
- yarn
- pnpm
- Standalone Binary
Verify Installation
Install the Core SDK
In your project directory:- npm
- yarn
- pnpm
- bun
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
Command not found: flagkit
Command not found: flagkit
If you get a “command not found” error, ensure your global npm bin directory is in your PATH:
Permission errors during installation
Permission errors during installation
If you encounter permission errors when installing globally:
Bun not found
Bun not found
FlagKit CLI requires Bun. Install it with:Then restart your terminal or run:
Next Steps
Quick Start Guide
Initialize your first FlagKit project

