Installing Node.js
Caplin Trader’s build stack requires Node.js 18. This page provides guidance on installing Node.js on Microsoft Windows, Apple macOS, and Linux.
Installing Node.js on Microsoft Windows
We recommend installing Node.js 18 using the installer from Node.js Downloads on the Node.js website.
To install the build environment required to build native Node.js modules, see Compiling native AddOn modules in the Microsoft Node.js Guidelines.
Installing Node.js on macOS
Installing Node.js on Linux
We recommend installing Node.js 18 using Node Version Manager (nvm).
Some node packages required by Caplin Trader contain native extensions and may require compilation during installation. To set up a build environment, run the appropriate command below:
Red Hat Enterprise Linux and variants
$ sudo yum group install "Development Tools"
Ubuntu and variants
$ sudo apt install build-essential