Skip to content

Instantly share code, notes, and snippets.

@krivaten
Forked from tristanoneil/setup.sh
Created February 17, 2016 19:42
Show Gist options
  • Save krivaten/d554db39bcdb81030e87 to your computer and use it in GitHub Desktop.
Save krivaten/d554db39bcdb81030e87 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