Automic VaultAutomic Vault

brew

duktape を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install duktape

local Homebrew formula metadata

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

MacPorts ports tree · devel/duktape/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add duktape

Alpine Linux edge package indexes · duktape · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install duktape

Debian stable package indexes · duktape · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install duktape

Fedora Rawhide package metadata · duktape · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#duktape

nixpkgs package indexes · pkgs/by-name/du/duktape/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S duktape

Arch Linux sync databases · duktape · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install duktape-devel

openSUSE Tumbleweed package metadata · duktape-devel · ソース: download.opensuse.org

概要

パッケージ概要

Embeddable Javascript engine with compact footprint

履歴

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

Duktape is an embeddable ECMAScript engine for C and C++ programs, designed around portability, compact footprint, and simple integration by adding the distributable C and header files to an application build. It is one of the better-known small JavaScript engines used when V8 or SpiderMonkey are too large or too embedding-heavy.

プロジェクトの歴史

Duktape's public release archive starts in September 2013 with alpha releases focused on the public API, portability, and ES5.1 behavior. Version 1.0.0 arrived on October 26, 2014 as the stable baseline release.

The 1.x series added low-memory improvements, debugger support, typed arrays, duk_config.h, module.exports behavior, performance work, suspend/resume support, and continued maintenance. These releases established Duktape as a compact embeddable runtime rather than a browser engine.

Duktape 2.0.0 was released on January 2, 2017 with buffers, ES2015 improvements, performance work, and footprint changes. Later 2.x releases added API improvements, CBOR support, Unicode and portability updates, and maintenance fixes, with 2.7.0 released on February 19, 2022.

The upstream GitHub README notes that the master branch is undergoing incompatible changes for Duktape 3.x and that Duktape 2.x is tracked on the v2-maintenance branch. That split reflects a mature runtime balancing maintenance users with future internal changes.

採用の歴史

Duktape's own site points to projects using it and to Stack Overflow community support, while its package presence spans Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Alpine, Ubuntu, and openSUSE-family packaging. Its GitHub repository also shows thousands of stars and a long development history, which is notable for a small embeddable engine.

Adoption tends to come from applications needing scripting, configuration logic, plugins, tests, or embedded automation in a C or C++ host. The guide emphasizes that Duktape makes few platform assumptions and leaves native bindings under application control, which made it attractive for constrained or custom environments.

使われ方

Embedding usually means adding duktape.c, duktape.h, and duk_config.h to the host build, creating a heap, and using the C API to call ECMAScript from C or expose C functions to script code. The command-line duk executable is useful for quick testing, but the package's main value is as a library.

Duktape implements ES5/E5.1 with selected later semantics and partial ES2015/ES2016 features. Its feature set includes typed arrays, Node.js Buffer bindings, WHATWG Encoding API bindings, CBOR bindings, a debugger, Unicode support, coroutines, bytecode dump/load, finalization, and low-memory configuration options.

パッケージ好きにとっての重要性

Duktape is significant because it occupies the small-engine end of the JavaScript runtime map. Package maintainers care about it as a portable C library with a permissive license, a stable release archive, and a footprint small enough for embedded systems.

It is also a useful point of comparison against QuickJS, MuJS, JerryScript, Espruino, and v7. Those engines all answer the same broad question - how small and embeddable can JavaScript be - with different tradeoffs around standards coverage, performance, licensing, and host integration.

タイムライン

  • 2013: 0.6.0 alpha released with first public API work.
  • 2014: 1.0.0 released as the stable baseline.
  • 2015: 1.2.0 added debugger and script-timeout support; 1.3.0 added typed arrays and duk_config.h.
  • 2016: 1.5.0 added low-memory and debugger improvements; 1.6.0 added suspend/resume.
  • 2017: 2.0.0 released with buffers, ES2015 improvements, performance, and footprint work.
  • 2018: 2.3.0 included ES2015 improvements.
  • 2019: 2.5.0 added CBOR support and other improvements.
  • 2022: 2.7.0 released as a maintenance-focused 2.x release.

Related projects

  • QuickJS, MuJS, JerryScript, Espruino, v7, tiny-js, and quad-wheel are listed by Duktape as similar engines for compact or embeddable JavaScript use cases.
  • V8 and SpiderMonkey are larger JavaScript engines that are often unsuitable when Duktape's compact single-source embedding model is the requirement.
  • Lua is a frequent embedded-scripting comparison point, and the Duktape guide explicitly includes a comparison-to-Lua section.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

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

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
dukcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

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

https://github.com/svaarala/duktape

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報No cached GitHub release or tag data was available.https://github.com/svaarala/duktape信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:duktape
バージョン2.7.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/duktape
ホームページhttps://duktape.org
リポジトリhttps://github.com/svaarala/duktape
上流ドキュメントhttps://duktape.org/api.html
ライセンスMIT
ソースアーカイブhttps://github.com/svaarala/duktape/releases/download/v2.7.0/duktape-2.7.0.tar.xz
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Debian apt95%

duktape 2.7.0-2+b2

embeddable Javascript engine

https://duktape.org

sudo apt install duktape
  • Section: interpreters
  • Architecture: amd64
  • Source Package: duktape
  • 1 依存関係
  • normalized package name match
  • 一致条件: Duktape
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duktape from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

duktape-dev 2.7.0-2+b2

embeddable Javascript engine, development files

https://duktape.org

sudo apt install duktape-dev
  • Section: interpreters
  • Architecture: amd64
  • Source Package: duktape
  • 1 依存関係
  • normalized package name match
  • 一致条件: Duktape
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duktape-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libduktape207 2.7.0-2+b2

embeddable Javascript engine, library

https://duktape.org

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

duktape

nix profile install nixpkgs#duktape
  • normalized package name match
  • 一致条件: Duktape
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/duktape/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

duktape 2.7.0+tests-0ubuntu3

embeddable Javascript engine

https://duktape.org

sudo apt install duktape
  • Section: universe/interpreters
  • Architecture: amd64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Duktape
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duktape from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

duktape-dev 2.7.0+tests-0ubuntu3

embeddable Javascript engine, development files

https://duktape.org

sudo apt install duktape-dev
  • Section: interpreters
  • Architecture: amd64
  • Source Package: duktape
  • 1 依存関係
  • normalized package name match
  • 一致条件: Duktape
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duktape-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libduktape207 2.7.0+tests-0ubuntu3

embeddable Javascript engine, library

https://duktape.org

sudo apt install libduktape207
  • Section: libs
  • Architecture: amd64
  • Source Package: duktape
  • 1 依存関係
  • normalized package name match
  • 一致条件: Duktape
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libduktape207 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

duktape 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint

https://duktape.org

sudo apk add duktape
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-dbg 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (debug symbols)

https://duktape.org

sudo apk add duktape-dbg
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 依存関係
  • normalized package name match
  • 一致条件: Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-dev 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (development files)

https://duktape.org

sudo apk add duktape-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-doc 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (documentation)

https://duktape.org

sudo apk add duktape-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • normalized package name match
  • 一致条件: Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

duktape-libs 2.7.0-r3

Embeddable Javascript engine with a focus on portability and compact footprint (libraries)

https://duktape.org

sudo apk add duktape-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: duktape
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Duktape
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: duktape-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

duktape 2.7.0-11.fc44

Embeddable Javascript engine

http://duktape.org/

sudo dnf install duktape
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: duktape
  • 4 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Duktape
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: duktape from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

duktape-devel 2.7.0-11.fc44

Development files for duktape

http://duktape.org/

sudo dnf install duktape-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: duktape
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Duktape
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: duktape-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

duktape 2.7.0-7

Embeddable Javascript engine

https://duktape.org/

sudo pacman -S duktape
  • License: MIT
  • Architecture: x86_64
  • 1 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Duktape
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: duktape from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

duktape-devel 2.7.0-3.7

Development files for duktape

https://duktape.org/

sudo zypper install duktape-devel
  • License: MIT
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: duktape
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Duktape
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: duktape-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

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

このページは 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment