Created
December 21, 2014 17:47
-
-
Save todd-a-jacobs/9385118f6fbdfb528220 to your computer and use it in GitHub Desktop.
Install ember-cli and dependencies without -g flag.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
npm install ember-cli | |
npm install bower | |
npm install phantomjs | |
rcfile="$HOME/.bashrc" | |
if ! grep -Fq node_modules "$rcfile"; then | |
echo 'export PATH="$PATH:$HOME/node_modules/.bin"' | tee -a "$rcfile" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment