Getting Started

Install Node.js and npm

XDN only supports Node.js version 12 and higher

If you do not have Node.js installed on your system, download and install it from the official Node.js v12.x downloads page. Select the download that matches your operating system and run the installer. Note that the installer for Node.js will also install npm.

Note that while you can use any version of Node.js >= 12 locally, your app will run in Node 12 when deployed to the XDN cloud. Therefore we highly suggest using Node 12 for all development.

Adding the XDN to an existing app

To add the XDN to an existing app, run the following:

npm i -g @xdn/cli
xdn init

Creating a new XDN app

To create a new XDN app, run:

npm create xdn-app@latest

... or using yarn ...

yarn create xdn-app@latest