flagctl
Getting started

Quick Start

From zero to your first flag in 60 seconds.

1

Install the CLI

brew install flagctl
# or
curl -fsSL https://flagctl.dev/install.sh | sh
2

Authenticate

flagctl auth login

Opens a browser, completes the device flow, and stores the token in ~/.config/flagctl/config.toml.

3

Link a project

flagctl link acme/web

Binds the current directory to the acme/web project. The next apply or sync runs against this project automatically.

4

Apply your first flag

# flags/checkout.yaml
checkout.v2:
type: bool
default: false
owner: payments
flagctl apply

The flag is now defined. Flip it on for any environment from the dashboard or with flagctl set checkout.v2=on --env staging.

What's next