macOS
brew install emscriptenlocal Homebrew formula metadata
sudo port install emscriptenMacPorts ports tree · lang/emscripten/Portfile · ソース: api.github.com
brew
emscripten のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install emscriptenlocal Homebrew formula metadata
sudo port install emscriptenMacPorts ports tree · lang/emscripten/Portfile · ソース: api.github.com
sudo apt install emscriptenDebian stable package indexes · emscripten · ソース: deb.debian.org
nix profile install nixpkgs#emscriptennixpkgs package indexes · emscripten · ソース: raw.githubusercontent.com
sudo pacman -S emscriptenArch Linux sync databases · emscripten · ソース: geo.mirror.pkgbuild.com
choco install emscriptenChocolatey community package catalog · emscripten · ソース: community.chocolatey.org
scoop install main/emscriptenScoop official bucket manifest trees · bucket/emscripten.json · ソース: api.github.com
概要
LLVM bytecode to JavaScript compiler
履歴
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.
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.
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.
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.
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`.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
.emscripten~/.emscripten$EM_CONFIG実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
bootstrap | cli | グローバル実行可能ファイル | |
em++ | cli | グローバル実行可能ファイル | |
em-config | cli | グローバル実行可能ファイル | |
emar | cli | グローバル実行可能ファイル | |
embuilder | cli | グローバル実行可能ファイル | |
emcc | cli | グローバル実行可能ファイル | |
emcmake | cli | グローバル実行可能ファイル | |
emconfigure | cli | グローバル実行可能ファイル | |
emdwp | cli | グローバル実行可能ファイル | |
emmake | cli | グローバル実行可能ファイル | |
emnm | cli | グローバル実行可能ファイル | |
empath-split | cli | グローバル実行可能ファイル | |
emprofile | cli | グローバル実行可能ファイル | |
emranlib | cli | グローバル実行可能ファイル | |
emrun | cli | グローバル実行可能ファイル | |
emscan-deps | cli | グローバル実行可能ファイル | |
emscons | cli | グローバル実行可能ファイル | |
emsize | cli | グローバル実行可能ファイル | |
emstrip | cli | グローバル実行可能ファイル | |
emsymbolizer | cli | グローバル実行可能ファイル | |
wasm32-clang | cli | グローバル実行可能ファイル | |
wasm32-clang++ | cli | グローバル実行可能ファイル | |
wasm32-wasi-clang | cli | グローバル実行可能ファイル | |
wasm32-wasi-clang++ | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/emscripten-core/emscripten
インストールメタデータ
| パッケージキー | brew:emscripten |
|---|---|
| バージョン | 6.0.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/emscripten |
| ホームページ | https://emscripten.org/ |
| リポジトリ | https://github.com/emscripten-core/emscripten |
| 上流ドキュメント | https://emscripten.org/docs |
| ライセンス | Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND (MIT OR NCSA) |
| ソースアーカイブ | https://github.com/emscripten-core/emscripten/archive/refs/tags/6.0.3.tar.gz |
| 最終更新 | 2026-07-14T16:36:43Z |
| Pulse | updated |
| 依存関係 | node, openjdk, python@3.14, yuicompressor |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 定義済み |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | emscripten |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
emscripten 3.1.69+dfsg-3
LLVM-to-JavaScript Compiler
sudo apt install emscriptenemscripten-doc 3.1.69+dfsg-3
LLVM-to-JavaScript Compiler (documentation)
sudo apt install emscripten-docemscripten
nix profile install nixpkgs#emscriptenemscripten 3.1.6~dfsg-7
LLVM-to-JavaScript Compiler
sudo apt install emscriptenemscripten-doc 3.1.6~dfsg-7
LLVM-to-JavaScript Compiler
sudo apt install emscripten-docemscripten 6.0.0-1
Compile C and C++ into highly-optimizable JavaScript for the web
sudo pacman -S emscriptenemscripten
sudo port install emscriptenemscripten
choco install emscriptenmain/emscripten
scoop install main/emscriptenem
sudo port install emem
nix profile install nixpkgs#emソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.