# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 mujs

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

## 安装

```sh
sudo av install brew:mujs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mujs
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mujs
```

  证据: Alpine Linux edge package indexes: mujs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mujs
```

  证据: Debian stable package indexes: mujs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mujs
```

  证据: Fedora Rawhide package metadata: mujs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mujs
```

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

- pacman (92%):

```sh
sudo pacman -S mujs
```

  证据: Arch Linux sync databases: mujs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mujs
```

  证据: openSUSE Tumbleweed package metadata: mujs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:mujs
- **软件包管理器:** Homebrew
- **版本:** 1.3.9
- **来源摘要:** Embeddable Javascript interpreter
- **主页:** <https://www.mujs.com/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mujs (别名)
- mujs-pp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.3.9
## 项目历史与用法

MuJS is an embeddable JavaScript interpreter in C developed and maintained by Artifex Software. The project site says it was originally developed for the MuPDF viewer, then made useful as an independent component. The GitHub mirror records Artifex copyright years beginning in 2013, and the public repository mirror was created in 2017.

### 项目历史

The interpreter is aimed at applications that need scripting without pulling in a large browser engine. Its introduction page emphasizes ES5 compliance, portable C, building from a single C file, a small footprint, a simple embedding API, and a default sandboxed build. The README presents the package as a lightweight interpreter for extending other software with scripting capabilities, with command-line interpreter, static library, and header installation targets.

### 使用方式

In package-manager ecosystems, MuJS belongs with embeddable language runtimes such as Lua, Duktape, QuickJS, and JerryScript. Its distinguishing role is a small C implementation tied historically to the MuPDF and Ghostscript/Artifex family, suitable for projects that want JavaScript extension points without V8-scale dependencies.

### 来源

- <https://api.github.com/repos/ArtifexSoftware/mujs>
- <https://formulae.brew.sh/formula/mujs>
- <https://github.com/ArtifexSoftware/mujs>
- <https://mujs.com/>
- <https://mujs.com/introduction.html>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

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

- Debian apt - libmujs-dev - 1.3.6-1: normalized package name match | Debian stable package indexes: libmujs-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightweight JavaScript interpreter (development package) | https://mujs.com/
- Debian apt - libmujs3 - 1.3.6-1: normalized package name match | Debian stable package indexes: libmujs3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightweight JavaScript interpreter library | https://mujs.com/
- Debian apt - mujs - 1.3.6-1: normalized package name match | Debian stable package indexes: mujs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Lightweight JavaScript interpreter | https://mujs.com/
- Nix - mujs: normalized package name match | nixpkgs package indexes: pkgs/by-name/mu/mujs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmujs-dev - 1.3.3-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libmujs-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lightweight JavaScript interpreter (development package) | https://mujs.com/
- Ubuntu apt - libmujs3 - 1.3.3-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libmujs3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lightweight JavaScript interpreter library | https://mujs.com/
- Ubuntu apt - mujs - 1.3.3-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: mujs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Lightweight JavaScript interpreter | https://mujs.com/
- apk - mujs - 1.3.9-r0: normalized package name match | Alpine Linux edge package indexes: mujs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An embeddable JavaScript interpreter | https://mujs.com/
- apk - mujs-dev - 1.3.9-r0: normalized package name match | Alpine Linux edge package indexes: mujs-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An embeddable JavaScript interpreter (development files) | https://mujs.com/
- apk - mujs-libs - 1.3.9-r0: normalized package name match | Alpine Linux edge package indexes: mujs-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An embeddable JavaScript interpreter (libraries) | https://mujs.com/
- apk - mujs-static - 1.3.9-r0: normalized package name match | Alpine Linux edge package indexes: mujs-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | An embeddable JavaScript interpreter (static library) | https://mujs.com/
- dnf - mujs - 1.3.7-3.fc45: normalized package name match | Fedora Rawhide package metadata: mujs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An embeddable Javascript interpreter | https://mujs.com/
- dnf - mujs-devel - 1.3.7-3.fc45: normalized package name match | Fedora Rawhide package metadata: mujs-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MuJS development files | https://mujs.com/
- dnf - mujs-static - 1.3.7-3.fc45: normalized package name match | Fedora Rawhide package metadata: mujs-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MuJS development files using static lib | https://mujs.com/
- pacman - mujs - 1.3.9-1: normalized package name match | Arch Linux sync databases: mujs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An embeddable Javascript interpreter in C | https://mujs.com/
- zypper - mujs - 1.3.7-3.4: normalized package name match | openSUSE Tumbleweed package metadata: mujs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | An embeddable Javascript interpreter | https://github.com/ccxvii/mujs


## Combined YAML source

View the package source record on GitHub. [combined/mujs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mujs.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
