Commit a6f082c0 a6f082c01f5e403e273ada87b83648d7f8eb983b by Nicolas Perriault

added installation instructions through npm

1 parent 4f105a91
......@@ -10,6 +10,8 @@ FAQ
:local:
:backlinks: top
.. _faq_node:
.. index:: Node.js
Is CasperJS a `node.js <http://nodejs.org/>`_ library?
......
......@@ -38,7 +38,7 @@ Installation of both PhantomJS and CasperJS can be achieved using Homebrew_, a p
Above all, don't forget to update Formulaes::
$ brew update
For the 1.1 development version (recommended)::
$ brew install casperjs --devel
......@@ -46,13 +46,30 @@ For the 1.1 development version (recommended)::
For the 1.0.x stable version::
$ brew install casperjs
If you have already installed casperjs and want to have the last release (stable|devel), use ``upgrade``::
$ brew upgrade casperjs
Upgrade only update to the latest release branch (1.0.x|1.1-dev).
Installing from npm
-------------------
.. versionadded:: 1.1-beta3
You can install CasperJS using `npm <http://npmjs.org/>`_::
$ npm install -g casperjs
.. note::
The `-g` flag makes the `casperjs` executable available system-wide.
.. warning::
While CasperJS is installable via npm, :ref:`it's not a NodeJS package <faq_node>`.
.. index:: git
Installing from git
......