Files
coffeescript/documentation/sections/installation.md
Geoffrey Booth d7e096aeee [CS2] Fix links in v2 docs (#4506)
* Update 2.0.0-beta1 docs

* Fix broken links, update redirected links

* Rebuild v2 docs with updated links

* A few more fixed links
2017-04-17 19:43:22 -07:00

733 B
Raw Blame History

Installation

The command-line version of coffee is available as a Node.js utility. The [core compiler](/v<%= majorVersion %>/browser-compiler/coffeescript.js) however, does not depend on Node, and can be run in any JavaScript environment, or in the browser (see Try CoffeeScript).

To install, first make sure you have a working copy of the latest stable version of Node.js. You can then install CoffeeScript globally with npm:

npm install --global coffeescript@next

When you need CoffeeScript as a dependency of a project, within that projects folder you can install it locally:

npm install --save coffeescript@next