Create a folder and install backstop globally
$ npm install -g backstopjs
Setup backstop instances
$ backstop init
To create a site reference, you need to run
$ backstop reference
Once you have your reference, you can start running the test.
$ backstop test
If all your test passes and you want to update your reference with the latest screenshots.
$ backstop approve