Fauna CLI v4 commands

Global
fauna completion

Output an auto-complete script for CLI commands in bash or zsh.

fauna local

Start a local Fauna container.

fauna login

Log in to Fauna using a web-based browser flow.

fauna query

Run a provided FQL query.

fauna shell

Run FQL queries in an interactive REPL.

Database
fauna database create

Create a database.

fauna database delete

Delete a database.

fauna database list

List top-level or child databases.

Export
fauna export create

Start the export of a database or specified user-defined collections to a specified destination type.

fauna export create s3

Start an export to an AWS S3 bucket.

fauna export get

Get an export by its ID.

fauna export list

List exports.

Schema
fauna schema abandon

Abandon a database’s staged schema.

fauna schema commit

Apply a staged schema to a database.

fauna schema diff

Show the diff between a database’s local, staged, or active schema.

fauna schema pull

Pull a database’s remote .fsl schema files into a local directory. By default, pulls the database’s staged schema.

fauna schema push

Push a local directory of .fsl schema files to a database. By default, stages the schema.

fauna schema status

Shows a database’s staged schema status.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!