Created
February 17, 2016 15:50
-
-
Save garystafford/e9bfdb67df1619756a1d to your computer and use it in GitHub Desktop.
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
npm install -g phantomjs | |
sudo vi ~/.bash_profile | |
# add PHANTOMJS_BIN environment variable (next two lines) | |
export PHANTOMJS_BIN=/usr/local/lib/node_modules/phantomjs/bin | |
# your file/line may vary | |
resetexport PATH=${PHANTOMJS_BIN}:$PATH | |
phantomjs --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment