Skip to main content

Getting Started

Prerequisites

NodeJS

Minimum version: >=21.0.0

Installation

To install the CLI, run:

npm install @declo/cli --save-dev

Running declo config locally

After installing the cli locally in the project, the dev server can be started by the following command:

npm run declo dev <CONFIG_FILE>

Deploying declo config to edge network

To deploy a config to the declo edge network a declo account is required. After registering an account the CLI can be authenticated by running the following command:

npm run declo signin

The config can be deployed to our extensive edge network by running the following command:

npm run declo dev <CONFIG_FILE> --target=<TARGET_NAME>