Quick start on Ubuntu
From JSXGraph Wiki
It is recommended to clone the git repository on github and pull requests to the main project.
This quick start guide shows how to get sources, compile them quickly on Ubuntu.
Prerequisites
Ubuntu packages
sudo apt-get install npm pkg-config libcairo2-dev nodejs-legacy
Get sources
git clone https://github.com/jsxgraph/jsxgraph.git cd jsxgraph
Npm prerequisites
npm install
Compile
make core
or
make core-min