System Grab Bag

View all TLDR pages from common (or from all pages)

coffee

Executes CoffeeScript scripts or compiles them into JavaScript. More information: https://coffeescript.org#cli.
  • Run a script:
    coffee {{path/to/file.coffee}}
  • Compile to JavaScript and save to a file with the same name:
    coffee --compile {{path/to/file.coffee}}
  • Compile to JavaScript and save to a given output file:
    coffee --compile {{path/to/file.coffee}} --output {{path/to/file.js}}
  • Start a REPL (interactive shell):
    coffee --interactive
  • Watch script for changes and re-run script:
    coffee --watch {{path/to/file.coffee}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.