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.

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!