# Install coffeescript with Homebrew, apt, Nix, pacman, scoop, winget

Unfancy JavaScript. Version 2.7.0 via Homebrew; verified 2026-06-13. Also installable with debian: sudo apt install coffeescript.

## Install

```sh
sudo av install brew:coffeescript
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install coffeescript
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install coffeescript
```

  Evidence: Debian stable package indexes: coffeescript from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#coffeescript
```

  Evidence: nixpkgs package indexes: pkgs/by-name/co/coffeescript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S coffeescript
```

  Evidence: Arch Linux sync databases: coffeescript from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/cake
```

  Evidence: Scoop official bucket manifest trees: bucket/cake.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id StevenCole.Coffee -e
```

  Evidence: Windows Package Manager source index: StevenCole.Coffee from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:coffeescript
- **Package manager:** Homebrew
- **Version:** 2.7.0
- **Source summary:** Unfancy JavaScript
- **Homepage:** <https://coffeescript.org/>
- **Repository:** <https://github.com/jashkenas/coffeescript>
- **Last updated:** 2026-06-13T01:24:09+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cake (alias)
- coffee (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.7.0
## Project history and usage

CoffeeScript is a programming language and compiler that turns CoffeeScript source into JavaScript. Its command-line package provides coffee for running or compiling .coffee files and cake for task definitions.

### Project history

The official changelog begins in December 2009 and shows CoffeeScript quickly evolving around the JavaScript and Node.js ecosystem. Early 2010 releases added the class syntax, switched the default JavaScript engine from Narwhal to Node.js, added Node require-extension support, and kept pace with early Node releases.

CoffeeScript 2 repositioned the compiler for modern JavaScript output. The official documentation says the biggest CoffeeScript 2 change is that the compiler now emits ES2015-and-later syntax where possible, with features such as async functions and JSX, while later documentation discusses Babel transpilation when older runtimes need support.

### Adoption history

CoffeeScript was packaged broadly because it was both a language compiler and a day-to-day CLI. The official README documents npm installation for local project use and global execution, while the supplied package facts list Homebrew, Debian, Nix, Arch/pacman, Scoop, Ubuntu, and winget packages.

The official site describes CoffeeScript as part of the JavaScript ecosystem and lists related integrations, books, build tools, and editor support. It also notes that CoffeeScript's fat arrow was one of its most popular features and that ES2015 adopted a corresponding arrow-function syntax.

### How it is used

Common package usage is to install Node.js, install the coffeescript package, run scripts with coffee, compile with coffee -c, and use Cakefiles for task automation. CoffeeScript 2 output may require runtime support for modern JavaScript or a transpilation step through tools such as Babel.

### Why package nerds care

CoffeeScript is historically significant to package managers because it represents an early JavaScript-to-JavaScript language distributed as a Node CLI, a browser compiler, and OS packages. Its package history mirrors a period when language tools moved from standalone tarballs and distro packages into npm-centered workflows while still being wrapped by Homebrew and Linux distributions.

### Timeline

- 2009: The official changelog starts with December 2009 releases.
- 2010: Early releases added classes, Node.js as the default engine, Node require-extension support, and directory compilation behavior.
- 2017: CoffeeScript 2 alpha and beta releases introduced ES2015+ output; the official changelog dates the initial alpha to February 21 and the initial beta to April 14.
- Current docs: CoffeeScript 2.7.0 is the documented source version on the official site.

### Related projects

- The official docs connect CoffeeScript to Node.js, npm, Babel, browser compilers, source maps, Cakefiles, and JavaScript ecosystem integrations.

### Sources

- <https://coffeescript.org/>
- <https://github.com/jashkenas/coffeescript#readme>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - coffeescript - 2.7.0+dfsg1-2: normalized package name match | Debian stable package indexes: coffeescript from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | interpreter and compiler for the CoffeeScript language | https://coffeescript.org/
- Debian apt - coffeescript-doc - 2.7.0+dfsg1-2: normalized package name match | Debian stable package indexes: coffeescript-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation for the CoffeeScript language | https://coffeescript.org/
- Debian apt - libjs-coffeescript - 2.7.0+dfsg1-2: normalized package name match | Debian stable package indexes: libjs-coffeescript from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | client-side interpreter for the CoffeeScript language | https://coffeescript.org/
- Nix - coffeescript: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/coffeescript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - coffeescript - 2.7.0+dfsg1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: coffeescript from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | interpreter and compiler for the CoffeeScript language | https://coffeescript.org/
- Ubuntu apt - coffeescript-doc - 2.7.0+dfsg1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: coffeescript-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | documentation for the CoffeeScript language | https://coffeescript.org/
- Ubuntu apt - libjs-coffeescript - 2.7.0+dfsg1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: libjs-coffeescript from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | client-side interpreter for the CoffeeScript language | https://coffeescript.org/
- pacman - coffeescript - 2.7.0-2: normalized package name match | Arch Linux sync databases: coffeescript from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CoffeeScript is a little language that compiles into JavaScript | https://coffeescript.org
- Scoop - main/cake: installed executable or alias match | Scoop official bucket manifest trees: bucket/cake.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - StevenCole.Coffee: installed executable or alias match | Windows Package Manager source index: StevenCole.Coffee from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/coffeescript.yml](https://github.com/mxcl/pkgdb/blob/main/combined/coffeescript.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
