---
title: chronoctl
description: The chronoctl command line interface (CLI) includes commands to interact with an instance of Chronograf’s data store.
url: https://docs.influxdata.com/chronograf/v1/tools/chronoctl/
estimated_tokens: 476
product: Chronograf
version: v1
publisher: InfluxData
canonical: https://docs.influxdata.com/chronograf/v1/tools/chronoctl/
date: '2023-10-17T11:22:14-06:00'
lastmod: '2023-10-17T11:22:14-06:00'
---

The `chronoctl` command line interface (CLI) includes commands to interact with an instance of Chronograf’s data store.

## Usage

```
chronoctl [flags] [command]
```

## Commands

|                            Command                             |                                     Description                                      |
|----------------------------------------------------------------|--------------------------------------------------------------------------------------|
|[add-superadmin](/chronograf/v1/tools/chronoctl/add-superadmin/)|                       Create a new user with superadmin status                       |
|   [gen-keypair](/chronograf/v1/tools/chronoctl/gen-keypair)    |                  Generate RSA keypair in the Chronograf data store                   |
|    [list-users](/chronograf/v1/tools/chronoctl/list-users)     |                     List all users in the Chronograf data store                      |
|       [migrate](/chronograf/v1/tools/chronoctl/migrate)        |                     Migrate your Chronograf configuration store                      |
|         [token](/chronograf/v1/tools/chronoctl/token)          |Get current token for a superadmin user (chronograf must be started with a public key)|

## Flags

|Flag|        |    Description    |
|----|--------|-------------------|
|`-h`|`--help`|Output command help|
| Command | Description |
| --- | --- |
| Command | Description |
| add-superadmin | Create a new user with superadmin status |
| gen-keypair | Generate RSA keypair in the Chronograf data store |
| list-users | List all users in the Chronograf data store |
| migrate | Migrate your Chronograf configuration store |
| token | Get current token for a superadmin user (chronograf must be started with a public key) |

| Flag |  | Description |
| --- | --- | --- |
| Flag |  | Description |
| -h | --help | Output command help |
