# 使用 Homebrew, Nix 安装 jerryscript

查看 jerryscript 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jerryscript
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jerryscript
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jerryscript
```

  证据: nixpkgs package indexes: pkgs/by-name/je/jerryscript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:jerryscript
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jerryscript>
- **版本:** 3.0.0
- **来源摘要:** Ultra-lightweight JavaScript engine for the Internet of Things
- **主页:** <https://jerryscript.net>
- **仓库:** <https://github.com/jerryscript-project/jerryscript>
- **上游文档:** <https://jerryscript.net>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/jerryscript-project/jerryscript/archive/refs/tags/v3.0.0.tar.gz>
- **最后更新:** 2026-08-02T01:26:52+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- jerry (cli)
- jerry (别名)

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.0.0
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/jerryscript-project/jerryscript
- 检测到的最新版本: v3.0.0 (当前)
## 项目历史与用法

JerryScript is a lightweight JavaScript engine for constrained Internet of Things devices. The project site and README emphasize microcontroller-class memory budgets, C99 portability, on-device compilation and execution, bytecode snapshots, and an embeddable C API.

### 项目历史

The public GitHub repository dates to 2015. The project presented itself early as a JavaScript engine for devices with less than 64 KB of RAM and less than 200 KB of flash, targeting a niche that mainstream browser and server JavaScript engines did not fit.

JerryScript reached a 1.0 GitHub release in 2016 and continued through the 2.x and 3.x release lines. Later release notes show the project expanding beyond its original ECMAScript 5.1 baseline, while still tracking footprint and conformance as central engineering constraints.

### 采用历史

JerryScript gained ecosystem legitimacy by becoming an OpenJS Foundation hosted project. The OpenJS project listing describes it as a fully featured JavaScript engine for IoT devices, and the JerryScript site links it with IoT.js, a related JavaScript platform for IoT applications.

Package-manager adoption through Homebrew and Nix gives developers a straightforward way to build and experiment with the `jerry` command-line engine on workstations, even though the project's natural deployment target is embedded firmware and constrained devices.

### 使用方式

The repository documents a simple source build with `python tools/build.py`, producing the `jerry` executable. Library users embed the engine through its C API, while the snapshot mechanism allows JavaScript source to be precompiled to bytecode before deployment.

### 为什么软件包爱好者会关心

JerryScript is interesting to package people because it is not another desktop JavaScript runtime. It packages a tiny embeddable engine whose constraints are closer to firmware than Node.js, making it a useful test case for how package managers expose embedded-runtime tooling to general-purpose developer machines.

### 时间线

- 2015: Public GitHub repository created for jerryscript-project/jerryscript.
- 2016: JerryScript 1.0 released on GitHub.
- 2019: JerryScript 2.0 released on GitHub.
- 2024: JerryScript 3.0.0 release notes report broader ECMAScript feature coverage.

### Related projects

- JerryScript is related to IoT.js through the project site's Powering IoT.js link and to the OpenJS Foundation project family through OpenJS hosting.

### 来源

- <https://api.github.com/repos/jerryscript-project/jerryscript>
- <https://github.com/jerryscript-project/jerryscript>
- <https://github.com/jerryscript-project/jerryscript/releases>
- <https://jerryscript.net/>
- <https://openjsf.org/projects>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jerryscript
- **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:** head, stable

## 其他软件包管理器记录

- Nix - jerryscript: normalized package name match | nixpkgs package indexes: pkgs/by-name/je/jerryscript/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched web development metadata.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [boa](https://pkg.so/zh-hans/brew/boa/) - Shares pkgdb curated category or tags: cli, ecmascript, engine, javascript, language-runtime.
- [mujs](https://pkg.so/zh-hans/brew/mujs/) - Shares pkgdb curated category or tags: cli, embedded, javascript, language-runtime.
- [v8](https://pkg.so/zh-hans/brew/v8/) - Shares pkgdb curated category or tags: cli, engine, javascript, language-runtime.
- [spidermonkey](https://pkg.so/zh-hans/brew/spidermonkey/) - Shares pkgdb curated category or tags: cli, engine, javascript, language-runtime.
- [duktape](https://pkg.so/zh-hans/brew/duktape/) - Shares pkgdb curated category or tags: cli, ecmascript, javascript, language-runtime.
- [quickjs](https://pkg.so/zh-hans/brew/quickjs/) - Shares pkgdb curated category or tags: cli, ecmascript, javascript, language-runtime.
- [wasm-micro-runtime](https://pkg.so/zh-hans/brew/wasm-micro-runtime/) - Shares pkgdb curated category or tags: cli, embedded, iot, language-runtime.
- [node](https://pkg.so/zh-hans/brew/node/) - Shares pkgdb curated category or tags: cli, javascript, language-runtime.

## Combined YAML source

View the package source record on GitHub. [combined/jerryscript.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jerryscript.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
