Heads Up! You're viewing the docs for v0.6, an old version of Karma. v6.3 is the newest.

Installation

Testacular runs on Node.js and is available as a node module via NPM.

Requirements #

First, you need to install Node.js. There are installers for both Mac and Windows. On Linux, we recommend using NVM.

Global Installation #

This is the recommended way. It will install Testacular into your global node_modules directory and create a symlink to its binary.

$ npm install -g testacular

# Start Testacular
$ testacular start

Local Installation #

A local installation will install Testacular into your current directory's node_modules. That allows you to have different versions for different projects.

$ npm install testacular

# Start Testacular
$ ./node_modules/.bin/testacular start