Get started – free
  • Home
  • Self-driving product
  • Context warehouse
  • Pricing
  • Docs
  • Demo
  • Talk to a human
  • Why PostHog?
  • Changelog
  • Company handbook
  • Store
  • Careers
  • Trash
  • Home
  • Self-driving product
  • Context warehouse
  • Pricing
  • Docs
  • Demo
  • Talk to a human
  • Why PostHog?
  • Changelog
  • Company handbook
  • Store
  • Careers
  • Trash
Feature Flags
Overview
Getting started
Start here
Installation
Creating Feature Flags
Adding your code
Testing your flag
Concepts
Server-side local evaluation
Client-side bootstrapping
Evaluation contexts
Device bucketing
Keeping flag evaluations stable
Guides
Best practices
Clean up stale flags
Do a phased rollout
Run a canary release
Target flags with groups
User and group targeting
Set up remote config
Use feature flag dependencies
Manage early access features
Schedule flag changes
Use multi-project flags
Override flag properties
PostHog AI
Manage flags with PostHog AI
Create flags with MCP
Resources
Cutting costs
Project-wide settings
More tutorials
Troubleshooting
Changelog

Install Feature Flags with PostHog

Contents

AI wizard

Install PostHog in seconds with our wizard by running this command in your project directory with your terminal (it also works for LLM coding agents like Cursor and Bolt):

Learn more

Wait for it to finish and test the setup once the wizard is complete.

Platforms

  • Web
  • .NET
  • Android
  • Elixir
  • Flutter
  • Go
  • iOS
  • Java
  • Node.js
  • PHP
  • Python
  • OpenFeature (Python) (Python)
  • OpenFeature (JavaScript) (JavaScript)
  • React
  • React Native
  • React Router
  • Remix
  • Ruby
  • Rust
  • API

Community questions

Was this page useful?

Jump to: