# 使用 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
- **版本:** 3.0.0
- **来源摘要:** Ultra-lightweight JavaScript engine for the Internet of Things
- **主页:** <https://jerryscript.net>
- **仓库:** <https://github.com/jerryscript-project/jerryscript>
- **最后更新:** 2026-08-02T01:26:52+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jerry (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
