Skip to content

Instantly share code, notes, and snippets.

@flomotlik
Last active December 23, 2015 01:58
Show Gist options
  • Select an option

  • Save flomotlik/6563464 to your computer and use it in GitHub Desktop.

Select an option

Save flomotlik/6563464 to your computer and use it in GitHub Desktop.
mkdir .casperjs
cd .casperjs
wget --retry-connrefused -q -O - https://codeload.github.com/n1k0/casperjs/legacy.zip/1.1-beta1 > casperjs.zip
unzip casperjs.zip
mv n1k0-casperjs*/* ./
cd ..
# Add .casperjs to the beginning of the path so it takes 1.1-beta1
export PATH=/home/rof/clone/.casperjs/bin:$PATH
# You can now either call casperjs directly or do
./.casperjs/bin/casperjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment