Skip to main content
Version: v3.x

Installation

You can download the CLI binary below. The latest version of the CLI is v1.0.1. Please follow the instructions for your system.

Simply run the installer script in your terminal:

curl -L https://graphql-engine-cdn.hasura.io/ddn/cli/v3/get.sh | bash

Verify Installation

Running ddn should print the following message:


DDDDDDD\ DDDDDDD\ NN\ NN\
DD __DD\ DD __DD\ NNN\ NN |
DD | DD | DD | DD | NNNN\ NN |
DD | DD | DD | DD | NN NN\NN |
DD | DD | DD | DD | NN \NNNN |
DD | DD | DD | DD | NN |\NNN |
DDDDDDD | DDDDDDD | NN | \NN |
\_______/ \_______/ \__| \__|

Usage:
ddn [command]

DDN operations
project Manage Hasura DDN Project

Metadata operations
command Perform Command related operations
connector Perform Connector related operations
connector-link Perform DataConnectorLink related operations
model Perform Model related operations
subgraph Perform Subgraph related operations
supergraph Perform Supergraph related operations

Authentication operations
auth Manage Hasura DDN CLI Auth

Other operations
context Perform context operations
help Help about any command
plugins Manage plugins for the CLI
update-cli Update this CLI to the latest version or to a specific version
version Prints the CLI version

Flags:
-h, --help help for ddn
--log-level string Log level. Can be DEBUG, WARN, INFO, ERROR, or FATAL. (default "INFO")
--no-prompt Do not prompt for required but missing flags
--out string Output format. Can be table, json or yaml. (default "table")
--timeout int Request timeout in seconds [env: HASURA_DDN_TIMEOUT] (default 100)

Use "ddn [command] --help" for more information about a command

Loading...