Skip to content

Instantly share code, notes, and snippets.

@tristanoneil
Forked from hubertlepicki/setup.sh
Last active February 17, 2016 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tristanoneil/80de58cd4b03fce1e743 to your computer and use it in GitHub Desktop.
Save tristanoneil/80de58cd4b03fce1e743 to your computer and use it in GitHub Desktop.
PhantomJS 2.1.0
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