Skip to Content
CLIOverview

Flexkit CLI

The Flexkit CLI lets you authenticate, manage projects, and deploy schema updates from your terminal.

Install

pnpm

pnpm add -g @flexkit/cli

npm

npm install -g @flexkit/cli

yarn

yarn add -g @flexkit/cli

bun

bun add -g @flexkit/cli

Updating Flexkit CLI

The easiest way to update the Flexkit CLI is by running the installation command yet again.

pnpm

pnpm add -g @flexkit/cli@latest

npm

npm install -g @flexkit/cli@latest

yarn

yarn add -g @flexkit/cli@latest

bun

bun add -g @flexkit/cli@latest

Usage

flexkit [options] <command>

Available Commands

  • assets: Manage project assets (upload, export).
  • deploy: Deploy the current schema and observe progress in real time.
  • export: Export the full dataset (entities + assets) to a tarball.
  • import: Import entities and assets from NDJSON, a directory or a tarball.
  • project: Manage projects (ls, add, rm).
  • login: Authenticate your CLI session.
  • logout: Remove local credentials and log out.
  • whoami: Print the currently authenticated user.
  • help: Show usage for the CLI or a specific command.

Command Reference

Last updated on

© 2026