Skip to content

Instantly share code, notes, and snippets.

@jpalala
Forked from shanestillwell/install.sh
Last active July 8, 2016 18:31
Show Gist options
  • Save jpalala/3da4dc96c26f086b04ba to your computer and use it in GitHub Desktop.
Save jpalala/3da4dc96c26f086b04ba to your computer and use it in GitHub Desktop.
install nodejs mocha test tools with nvm (node-version-manager)
#!/bin/bash
NPM=~/.nvm/versions/node/v0.12.0/bin/npm
$NPM install -g mocha
$NPM install -g chai
$NPM install -g xunit-file
$NPM install -g jshint
$NPM install -g nock
$NPM install -g supertest
$NPM install -g testacular
$NPM install -g phantomjs
$NPM install -g tap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment