Skip to content

Instantly share code, notes, and snippets.

@fatgy
Forked from garlandkr/casperjs_installer.sh
Last active January 4, 2016 14:29
Show Gist options
  • Save fatgy/8634714 to your computer and use it in GitHub Desktop.
Save fatgy/8634714 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd /usr/local/src
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2
tar xvjpf phantomjs-1.9.0-linux-x86_64.tar.bz2
ln -s /usr/local/src/phantomjs-1.9.0-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
git clone git://github.com/n1k0/casperjs.git
cd 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