CLI Installation
The@superflag-sh/cli package provides a command-line interface for managing Superflag feature flags, apps, and environments.
Requirements
- Node.js 18+ or Bun
- Internet connection for authentication
Installation
Verify Installation
First Time Setup
After installing, authenticate with your Superflag account:Updating
To update to the latest version:Uninstalling
Configuration Files
The CLI stores configuration in your home directory:| File | Purpose |
|---|---|
~/.superflag/credentials.json | Authentication token |
~/.superflag/context.json | Default app and environment |