Skip to content

Instantly share code, notes, and snippets.

@billyxs
Last active April 19, 2018 18:30
Show Gist options
  • Save billyxs/86d29487ee5c142f118e to your computer and use it in GitHub Desktop.
Save billyxs/86d29487ee5c142f118e to your computer and use it in GitHub Desktop.
Install NPM global modules for OSX
#!/bin/ssh
# message colors
GREEN='\033[0;32m'
CYAN='\033[0;36m'
NONE='\033[0m'
# npm it
# Install Dev Tools - Express, React, Bower, Nodemon, Node Inspector
echo $GREEN"Install Dev Tools - Express, React, Babel, Bower, Nodemon, Node Inspector\n"$NONE
npm install -g express-generator
npm install -g react-tools
npm install -g react-native-cli
npm install -g babel-cli
npm install -g yarn
npm install -g nodemon
npm install -g http-server
npm install -g node-inspector
npm install -g hiflow
# setup details https://github.com/so-fancy/diff-so-fancy
npm install -g diff-so-fancy
# System monitoring dashboard for terminal
npm install -g gtop
echo $CYAN"END Dev Tools"$NONE
# Install Mobile Tools - Cordova, Phonegap iOS Simulator, Ionic
echo $GREEN"Install Mobile Tools - Cordova, Phonegap iOS Simulator, Ionic\n"$NONE
npm install -g cordova
npm install -g ios-sim
npm install -g ionic
echo $CYAN"END Build Tools"$NONE
# Install Test Tools - Karma, Mocha, PhantomJS
echo $GREEN"Install Test Tools - Karma, Protractor, Mocha, PhantomJS\n"$NONE
npm install -g karma
npm install -g karma-cli
npm install -g generator-karma
npm install -g mocha
npm install -g generator-mocha
npm install -g phantomjs
echo $CYAN"\nEND Test Tools"
echo "Enjoy!\n"$NONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment