Skip to main content

Statsig CLI ("Siggy")


The Statsig CLI is a command-line interface that helps with management of Feature Gates, Experiments, and Dynamic Configs within the Statsig platform. This tool allows you create, manage, and delete configs, all from the command line. This tool can also be used within scripts.

Why Use the Statsig CLI?


The Statsig CLI provides a fast way to interact with Statsig, reducing the need for manual actions through our Console interface. It allows for quick execution of tasks with simple commands.


Our CLI can be integrated into CI/CD pipelines to automate the management of Feature Gates and Experiments.


Using the CLI allows for scriptable and repeatable actions, promoting best practices and reducing the risk of human error.


To get started with the Statsig CLI, follow these steps:


  • Node.js (version 14 or higher)
  • npm (Node Package Manager)


  1. Install the Statsig CLI via npm:
$ npm install -g @statsig/siggy
  1. Check install
$ siggy --version

If you get a command not found error, you might need to add your node global bin folder to your path.

One way to do that is by running export PATH=$PATH:$(npm get prefix -g)/bin

If that doesn't work, as a workaround, you can run the CLI by prefixing npx in the command line

$ npx siggy --version
  1. Configure the API keys by running:
$ siggy -c <console-api-key>
$ siggy -k <client-api-key>

You can retrieve these keys from your Statsig project. In order to get these keys, login to Statsig Console here: and navigate to the Settings page (

Once you're there, select the Keys & Environments panel within Project Settings, then copy both the Console API Key and Client API Key, and paste them in the Settings dialog.


Next up: Commands in CLI