JavaScript is another engine that can be used with Jupyter. Actually, it is node.js
rather than JavaScript. node.js
is a superset of JavaScript. node.js
is an extension of JavaScript that is expected to be run on a server. As with JavaScript, node.js
is cross-platform.
We will go over the steps to install the engine and run a small script.
First, we need to install node.js
. It is available from node.js.org
. From this site, you can download and install node.js
on your machine directly. The installer for Windows is a standard design that looks similar for other environments.
Next, we need to install the JavaScript engine, ijavascript
. We use the npm
tool (installed with node.js
) to install ijavascript
with the command:
npm install -g ijavascript
The non-Windows running of this script is within sudo
(the run
command as a superuser), so I think the equivalent would be to run this script from a command window that is run as administrator...