How To Install Coffee?

How To Install Coffee?

coffee

Executes CoffeeScript scripts or compiles them into JavaScript.

Maintainer: Debian Javascript Maintainers



Section: devel

Install coffee

  • Debian apt-get install coffeescript Click to copy
  • Ubuntu apt-get install coffeescript Click to copy
  • Arch Linux pacman -S coffeescript Click to copy
  • Kali Linux apt-get install coffeescript Click to copy
  • Fedora dnf install coffeescript Click to copy
  • Raspbian apt-get install coffeescript Click to copy
  • macOS brew install coffeescript Click to copy

Executes CoffeeScript scripts or compiles them into JavaScript.

How to use coffee?

Below are few example commands for coffee that you can use in the terminal.

Run a script:
coffee path/to/file.coffeeClick to copy
Compile to JavaScript and save to a file with the same name:
coffee --compile path/to/file.coffeeClick to copy
Compile to JavaScript and save to a given output file:
coffee --compile path/to/file.coffee --output path/to/file.jsClick to copy
Run interactive REPL:
coffee --interactiveClick to copy
Watch script for changes and re-run script:
coffee --watch path/to/file.coffeeClick to copy
Installing coffee command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of coffee 2026 package in your OS.