Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Created March 6, 2014 19:52
Show Gist options
  • Save jansanchez/9398009 to your computer and use it in GitHub Desktop.
Save jansanchez/9398009 to your computer and use it in GitHub Desktop.
Install phantomjs a browser in console

Install phantomjs

Download

http://phantomjs.org/download.html

terminal

cd /usr/local/share/
sudo tar jxvf phantomjs-1.9.2-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.2-linux-x86_64/ /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs

Checking the version

phantomjs -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment