-
-
Save tristanoneil/80de58cd4b03fce1e743 to your computer and use it in GitHub Desktop.
PhantomJS 2.1.0
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
PHANTOMJS_URL="https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2" | |
set -e | |
rm -rf ~/.phantomjs | |
wget --continue "${PHANTOMJS_URL}" -O "${HOME}/cache/phantomjs" | |
tar xvfj "${HOME}/cache/phantomjs" | |
ln -s "${HOME}/cache/phantomjs" "${HOME}/bin/" | |
chmod +x "${HOME}/bin/phantomjs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment