pkg.sopackage field notes

brew / rank 1105

Install emscripten with Homebrew

LLVM bytecode to JavaScript compiler. Version 6.0.5 via Homebrew; verified 2026-07-29.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install emscripten

provider-native install command

overview

Package summary

LLVM bytecode to JavaScript compiler

Commands and aliases

  • bootstrap.py
  • em++
  • em-config
  • emar
  • embuilder
  • emcc
  • emcmake
  • emconfigure
  • emdwp
  • emmake
  • emnm
  • empath-split
  • emprofile
  • emranlib
  • emrun
  • emscan-deps
  • emscons
  • emsize
  • emstrip
  • emsymbolizer
  • wasm32-clang
  • wasm32-clang++
  • wasm32-wasi-clang
  • wasm32-wasi-clang++

history

Project history and usage

Emscripten is the long-running LLVM-based toolchain that made C and C++ code practical to ship into JavaScript and then WebAssembly environments. Its README describes it as compiling C and C++ to WebAssembly using LLVM and Binaryen, with output that runs on the web, in Node.js, and in standalone wasm runtimes.

For package users, Emscripten is not just one compiler binary: it is a full porting toolchain with `emcc`, `em++`, build-system wrappers, archive tools, runtime helpers, ports, and a cache. Installing it from a package manager gives developers a local system toolchain, while the project itself still recommends the Emscripten SDK as the easiest way to get started.

Project history

The public GitHub repository dates to 2011, and the project grew around the idea that LLVM IR could be lowered into browser-executable output. As WebAssembly became the standard target, Emscripten's documented model shifted toward producing a wasm module plus JavaScript loader code, while still retaining browser, Node.js, and runtime integration layers.

The Emscripten README ties the project closely to LLVM, Binaryen, Clang, OpenGL, SDL2, and the broader portable-native-code ecosystem. Its license notes also reflect the project's LLVM relationship, including the later switch to the LLVM wasm backend.

Adoption history

Emscripten became important because it turned existing native codebases into web-deployable artifacts rather than forcing rewrites. The project documentation points to large graphical and application ports, including Unity WebGL and Google Earth, as examples of the kind of portable API support it targets.

Its command-line shape made it familiar to Unix package users: `emcc` is presented as something to run like `gcc` or `clang`, and companion tools such as `emcmake` and `emconfigure` let existing C/C++ build systems cross-compile with limited ceremony.

How it is used

Typical use starts with compiling a C or C++ file through `emcc`, producing JavaScript plus a WebAssembly module, or generating an HTML harness for browser testing. Larger projects commonly enter through build wrappers such as `emcmake`, `emconfigure`, and `emmake`.

The toolchain matters beyond browsers because Emscripten documents output for Node.js, Deno, Bun, and wasm runtimes. That makes it a package-manager fixture for developers who need reproducible local builds of wasm artifacts from native code.

Why package nerds care

Emscripten is one of the canonical examples of a package that is both a compiler and a small ecosystem: it brings a sysroot, ports, compiler frontends, JS glue generation, cache behavior, and version-sensitive ABI expectations. Its changelog explicitly warns that ABI compatibility is not guaranteed across versions and that rebuilds may be needed after upgrades.

For maintainers, Emscripten is interesting because it sits at the crossing of LLVM release behavior, browser platform changes, WebAssembly proposals, and ordinary package-manager expectations. Keeping it packaged means tracking a fast-moving compiler stack while preserving the simple user promise of `emcc hello.c -o hello.js`.

Timeline

  • 2011: Public GitHub repository created for Emscripten.
  • 2010s: Emscripten became a common route for porting native C/C++ applications and libraries to the web.
  • WebAssembly era: The documented default model centers on producing wasm modules with JavaScript loader code.
  • 2026: The 6.x release series continued active development, including toolchain, browser-target, Node.js, and wasm feature changes.

Related projects

  • LLVM and Clang provide the compiler foundation used by Emscripten.
  • Binaryen is part of the documented WebAssembly toolchain used by Emscripten.
  • SDL2, OpenGL support, Unity WebGL, and Google Earth are cited by the project as examples or beneficiaries of the porting model.
  • Rust can integrate with Emscripten through the `wasm32-unknown-emscripten` target.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.emscripten~/.emscripten$EM_CONFIG

executables

Installed executables

CommandKindExposureNote
bootstrap.pyexecutableindexed executableDiscovered from the local executable index.
em++executableindexed executableDiscovered from the local executable index.
em-configexecutableindexed executableDiscovered from the local executable index.
emarexecutableindexed executableDiscovered from the local executable index.
embuilderexecutableindexed executableDiscovered from the local executable index.
emccexecutableindexed executableDiscovered from the local executable index.
emcmakeexecutableindexed executableDiscovered from the local executable index.
emconfigureexecutableindexed executableDiscovered from the local executable index.
emdwpexecutableindexed executableDiscovered from the local executable index.
emmakeexecutableindexed executableDiscovered from the local executable index.
emnmexecutableindexed executableDiscovered from the local executable index.
empath-splitexecutableindexed executableDiscovered from the local executable index.
emprofileexecutableindexed executableDiscovered from the local executable index.
emranlibexecutableindexed executableDiscovered from the local executable index.
emrunexecutableindexed executableDiscovered from the local executable index.
emscan-depsexecutableindexed executableDiscovered from the local executable index.
emsconsexecutableindexed executableDiscovered from the local executable index.
emsizeexecutableindexed executableDiscovered from the local executable index.
emstripexecutableindexed executableDiscovered from the local executable index.
emsymbolizerexecutableindexed executableDiscovered from the local executable index.
wasm32-clangexecutableindexed executableDiscovered from the local executable index.
wasm32-clang++executableindexed executableDiscovered from the local executable index.
wasm32-wasi-clangexecutableindexed executableDiscovered from the local executable index.
wasm32-wasi-clang++executableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version6.0.5
manager updated2026-07-29
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:emscripten
Version6.0.5
Package managerHomebrew
Homepagehttps://emscripten.org/
Repositoryhttps://github.com/emscripten-core/emscripten
Last updated2026-07-29T23:49:52Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation