coffee

Executes CoffeeScript scripts or compiles them into JavaScript. More information: <https://coffeescript.org#cli>.

Install

All systems
curl cmd.cat/coffee.sh
Debian Debian
apt-get install coffeescript
Ubuntu
apt-get install coffeescript
Arch Arch Linux
pacman -S coffeescript
image/svg+xml Kali Linux
apt-get install coffeescript
Fedora
dnf install coffeescript
Windows (WSL2)
sudo apt-get update sudo apt-get install coffeescript
OS X
brew install coffeescript
Raspbian
apt-get install coffeescript

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

© tl;dr; authors and contributors