Installing the FaunaDB CLI and using it to send queries from a local file

Chris Biscardi
InstructorChris Biscardi

Share this video with your friends

Send Tweet
Published 4 years ago
Updated 3 years ago

The FaunaDB CLI is distributed on NPM and includes an interactive shell as well as the ability to send queries from a file.

npm i -g fauna-shell
fauna cloud-login
fauna -h
fauna list-databases

open a shell to a database:

fauna shell test-demo

Running queries from a file

fauna eval test-demo --file=./fauna.fql