Check out v4 of the Fauna CLI
v4 of the Fauna CLI is now in beta. The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start. |
fauna environment add
Add an environment to the .fauna-project
file.
Syntax
fauna environment add [-y | --no-input] [--database <value>]
[--endpoint <value>] [--help] [--name <value>] [--set-default]
Options
Option | Description |
---|---|
|
Disable interaction. |
|
Environment name. |
|
Endpoint to use in this environment. |
|
Database path to use in this environment. |
|
Set this environment as the default. |
|
Help for |
Examples
fauna environment add
fauna environment add --name my-app --endpoint dev --database my-database
fauna environment add --name my-app --endpoint dev --database my-database --set-default
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!