Skip to content

Instantly share code, notes, and snippets.

@ianlintner-wf
Forked from shapeshed/gist:5433860
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianlintner-wf/c50db1338d8918d3cb44 to your computer and use it in GitHub Desktop.
Save ianlintner-wf/c50db1338d8918d3cb44 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd /usr/local/share
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-i686.tar.bz2
tar -xjf /usr/local/share/phantomjs-1.9.0-linux-i686.tar.bz2
sudo ln -sf /usr/local/share/phantomjs-1.9.0-linux-i686/bin/phantomjs /usr/local/bin/phantomjs
git clone git://github.com/n1k0/casperjs.git /usr/local/src/casperjs
cd /usr/local/src/casperjs
git checkout tags/1.0.2
ln -sf /usr/local/src/casperjs/bin/casperjs /usr/local/bin/casperjs
phantomjs --version
casperjs --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment