Configure your system to evaluate external JavaScript code.
For Mac...
Install NodeJS
NodeJS can be installed for Mac through package repositories such as Homebrew or MacPorts, or by using the installer downloaded from the NodeJS website.
To install using the installer from nodejs.org, download the installer, double-click the resulting .pkg file, and follow the instructions.
- For more information about NodeJS, please consult the getting started guide on the NodeJS website.
Install the ZeroMQ package for NodeJS
Install the ZeroMQ package for NodeJS using the node package manager, npm.
$ cd ~
$ npm install zeromq
Verify the installation
If the installation was successful, FindExternalEvaluators will find it automatically:
Evaluate JavaScript using NodeJS
Use the NodeJS installation to evaluate JavaScript code:
For Windows...
Install NodeJS
Download the NodeJS installer for Windows and run the resulting executable file.
- For more information about NodeJS, please consult the getting started guide on the NodeJS website.
Install the ZeroMQ package for NodeJS
Install the ZeroMQ package for NodeJS using the node package manager, npm.
> cd %HOMEPATH%
> npm install zeromq
Verify the installation
If the installation was successful, FindExternalEvaluators will find it automatically:
Evaluate JavaScript using NodeJS
Use the NodeJS installation to evaluate JavaScript code:
For Linux...
Install NodeJS
NodeJS is available from most Linux package repositories such as APT or yum, or you can download an installer.
- For more information about NodeJS, please consult the getting started guide on the NodeJS website.
Install the ZeroMQ package for NodeJS
Install the ZeroMQ package for NodeJS using the node package manager, npm.
$ cd ~
$ npm install zeromq
Verify the installation
If the installation was successful, FindExternalEvaluators will find it automatically:
Evaluate JavaScript using NodeJS
Use the NodeJS installation to evaluate JavaScript code: