Karma runs on Node.js and is available as a node module via NPM.
First, you need to install Node.js. There are installers for both
Mac and Windows. On Linux, we recommend using NVM.
This is the recommended way. It will install Karma into your
node_modules directory and create a symlink to its binary.
$ npm install -g karma
$ karma start
A local installation will install Karma into your current
node_modules. That allows you to have different
versions for different projects.
$ npm install karma
$ ./node_modules/.bin/karma start