emscripten

Install command:
brew install emscripten

LLVM bytecode to JavaScript compiler

https://emscripten.org/

License: Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND (MIT OR NCSA)

Formula JSON API: /api/formula/emscripten.json

Formula code: emscripten.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 4.0.15
head ⚡️ HEAD

Depends on:

node 24.8.0 Platform built on V8 to build network applications
python@3.13 3.13.7 Interpreted, interactive, object-oriented programming language
yuicompressor 2.4.8 Yahoo! JavaScript and CSS compressor
openjdk 25 Development kit for the Java programming language

Depends on when building from source:

cmake 4.1.1 Cross-platform make

Analytics:

Installs (30 days)
emscripten 1,603
emscripten --HEAD 1
Installs on Request (30 days)
emscripten 1,600
emscripten --HEAD 1
Build Errors (30 days)
emscripten 3
Installs (90 days)
emscripten 4,500
emscripten --HEAD 5
Installs on Request (90 days)
emscripten 4,491
emscripten --HEAD 5
Installs (365 days)
emscripten 22,568
emscripten --HEAD 43
Installs on Request (365 days)
emscripten 22,506
emscripten --HEAD 43