Be sure to have installed the Node.js tools in your system. It's heavily
encouraged to use the latest Node.js and NPM versions from the
Node.js project PPA instead of the packages available on the oficial Ubuntu
repositories, since due to the fast-moving Node.js community and environment
these last ones get easily outdated and can lead to incompatibility errors:

sudo add-apt-repository ppa:chris-lea/node.js

sudo apt-get update

sudo apt-get install nodejs nodejs-legacy

To install the library, it's recomended to do that from the NPM repository :

npm install kws-rpc-builder

Alternatively, you can download the code using git and install manually its
dependencies:

To build the browser version of the library you'll only need to exec the grunt
task runner and they will be generated on the dist folder. Alternatively,
if you don't have it globally installed, you can run a local copy by executing