Install the TerminusDB JavaScript Client


Node.js version 10+ if using the TerminusDB client library as a Node.js package


The TerminusDB JavaScript client library can be used either as a Node.js package or as a script that runs in the browser.

NPM Package

If you don't already have Node.js installed, install it first. node-install

To install the terminusdb-client package as a dependency in an existing package, run:

$ npm install --save @terminusdb/terminusdb-client

This command updates your package.json.


To use the terminusdb-client script on a webpage sourced from a CDN, add this to your HTML:

<script src=""></script>

Alternatively, you can download the latest terminusdb-client.min.js, add it to your sources, and use that in the <script> instead.