Tutorial: Installation

Installation

Prerequisites

To use the OpenDXL JavaScript Client (Node.js) the following prerequisites must be satisfied:

Installation

Before installing the OpenDXL JavaScript Client (Node.js), change to the directory which you extracted from the SDK zip file. For example:

cd dxlclient-javascript-sdk-0.1.2

To install the client from a local tarball for a Mac or Linux-based operating system, run the following command:

npm install ./lib/opendxl-dxl-client-0.1.2.tgz --save

To install the client from a local tarball for Windows, run:

npm install .\lib\opendxl-dxl-client-0.1.2.tgz --save

To install the client via the npm package registry, run:

npm install @opendxl/dxl-client --save