added installation instructions through npm
Showing
2 changed files
with
19 additions
and
0 deletions
... | @@ -10,6 +10,8 @@ FAQ | ... | @@ -10,6 +10,8 @@ FAQ |
10 | :local: | 10 | :local: |
11 | :backlinks: top | 11 | :backlinks: top |
12 | 12 | ||
13 | .. _faq_node: | ||
14 | |||
13 | .. index:: Node.js | 15 | .. index:: Node.js |
14 | 16 | ||
15 | Is CasperJS a `node.js <http://nodejs.org/>`_ library? | 17 | Is CasperJS a `node.js <http://nodejs.org/>`_ library? | ... | ... |
... | @@ -53,6 +53,23 @@ If you have already installed casperjs and want to have the last release (stable | ... | @@ -53,6 +53,23 @@ If you have already installed casperjs and want to have the last release (stable |
53 | 53 | ||
54 | Upgrade only update to the latest release branch (1.0.x|1.1-dev). | 54 | Upgrade only update to the latest release branch (1.0.x|1.1-dev). |
55 | 55 | ||
56 | Installing from npm | ||
57 | ------------------- | ||
58 | |||
59 | .. versionadded:: 1.1-beta3 | ||
60 | |||
61 | You can install CasperJS using `npm <http://npmjs.org/>`_:: | ||
62 | |||
63 | $ npm install -g casperjs | ||
64 | |||
65 | .. note:: | ||
66 | |||
67 | The `-g` flag makes the `casperjs` executable available system-wide. | ||
68 | |||
69 | .. warning:: | ||
70 | |||
71 | While CasperJS is installable via npm, :ref:`it's not a NodeJS package <faq_node>`. | ||
72 | |||
56 | .. index:: git | 73 | .. index:: git |
57 | 74 | ||
58 | Installing from git | 75 | Installing from git | ... | ... |
-
Please register or sign in to post a comment