Install NodeJS, PhantomJS, CasperJS in Ubuntu 14.04

In my previous project, I used PhantomJS/CasperJS for automation test. It is really amazing for all front-end guys who need write unit test for verify user experiences (e.g: submit form, change link …). The below is steps to install PhantomJS and CasperJS in Ubuntu 14.04.

Install NodeJS, PhantomJS, CasperJS in Ubuntu 14.04

Install NodeJS, PhantomJS, CasperJS in Ubuntu 14.04

Get nodeJS from personal Repository to get the latest version.

Install NPM, NodeJS:

Now, check with command:

You can install CasperJS via NPM command:

Install PhantomJS  (Download source, extract files, create soft-link to executable directory):

Check your installation with command: