Automic VaultAutomic Vault

brew

emscripten を Homebrew, chocolatey, apt, MacPorts, Nix, pacman, scoop でインストール

emscripten のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install emscripten

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install emscripten

MacPorts ports tree · lang/emscripten/Portfile · ソース: api.github.com

Windows

Chocolatey確認済み · 92%
choco install emscripten

Chocolatey community package catalog · emscripten · ソース: community.chocolatey.org

Scoop確認済み · 92%
scoop install main/emscripten

Scoop official bucket manifest trees · bucket/emscripten.json · ソース: api.github.com

概要

パッケージ概要

LLVM bytecode to JavaScript compiler

コマンドとエイリアス

  • bootstrap
  • 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++

履歴

プロジェクトの歴史と使われ方

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`.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew はこの formula に post-install フックを宣言しています。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
bootstrapcliグローバル実行可能ファイル
em++cliグローバル実行可能ファイル
em-configcliグローバル実行可能ファイル
emarcliグローバル実行可能ファイル
embuildercliグローバル実行可能ファイル
emcccliグローバル実行可能ファイル
emcmakecliグローバル実行可能ファイル
emconfigurecliグローバル実行可能ファイル
emdwpcliグローバル実行可能ファイル
emmakecliグローバル実行可能ファイル
emnmcliグローバル実行可能ファイル
empath-splitcliグローバル実行可能ファイル
emprofilecliグローバル実行可能ファイル
emranlibcliグローバル実行可能ファイル
emruncliグローバル実行可能ファイル
emscan-depscliグローバル実行可能ファイル
emsconscliグローバル実行可能ファイル
emsizecliグローバル実行可能ファイル
emstripcliグローバル実行可能ファイル
emsymbolizercliグローバル実行可能ファイル
wasm32-clangcliグローバル実行可能ファイル
wasm32-clang++cliグローバル実行可能ファイル
wasm32-wasi-clangcliグローバル実行可能ファイル
wasm32-wasi-clang++cliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版6.0.3
マネージャ更新日2026-07-14
ローカルデータOK
上流最新
検出された最新6.0.3

https://github.com/emscripten-core/emscripten

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係node, openjdk, python@3.14, yuicompressor
ビルド依存関係cmake
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install定義済み
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameemscripten
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

emscripten 3.1.69+dfsg-3

LLVM-to-JavaScript Compiler

http://emscripten.org/

sudo apt install emscripten
  • Section: devel
  • Architecture: all
  • 8 依存関係
  • 1 提供
  • 11 任意依存関係
  • normalized package name match
  • 一致条件: Emscripten
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emscripten from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

emscripten-doc 3.1.69+dfsg-3

LLVM-to-JavaScript Compiler (documentation)

http://emscripten.org/

sudo apt install emscripten-doc
  • Section: doc
  • Architecture: all
  • Source Package: emscripten
  • 4 依存関係
  • normalized package name match
  • 一致条件: Emscripten
Debian stable package indexes · deb.debian.org · Debian stable package indexes: emscripten-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

emscripten

nix profile install nixpkgs#emscripten
  • normalized package name match
  • 一致条件: Emscripten
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: emscripten from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

emscripten 3.1.6~dfsg-7

LLVM-to-JavaScript Compiler

http://emscripten.org/

sudo apt install emscripten
  • Section: universe/devel
  • Architecture: all
  • 7 依存関係
  • 1 提供
  • 11 任意依存関係
  • normalized package name match
  • 一致条件: Emscripten
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emscripten from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

emscripten-doc 3.1.6~dfsg-7

LLVM-to-JavaScript Compiler

http://emscripten.org/

sudo apt install emscripten-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: emscripten
  • normalized package name match
  • 一致条件: Emscripten
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: emscripten-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

emscripten 6.0.0-1

Compile C and C++ into highly-optimizable JavaScript for the web

https://emscripten.org

sudo pacman -S emscripten
  • License: custom
  • Architecture: x86_64
  • 6 依存関係
  • 1 提供
  • 3 任意依存関係
  • normalized package name match
  • 一致条件: Emscripten
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: emscripten from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

emscripten

sudo port install emscripten
  • normalized package name match
  • 一致条件: Emscripten
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/emscripten/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

emscripten

choco install emscripten
  • normalized package name match
  • 一致条件: Emscripten
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: emscripten from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','electron'
Scoop95%

main/emscripten

scoop install main/emscripten
  • normalized package name match
  • 一致条件: Emscripten
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/emscripten.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
MacPorts94%

em

sudo port install em
  • installed executable or alias match
  • 一致条件: Em
MacPorts ports tree · api.github.com · MacPorts ports tree: editors/em/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

em

nix profile install nixpkgs#em
  • installed executable or alias match
  • 一致条件: Em
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/em/em/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment