---
name: v8-jsvu
description: "How to use jsvu for cross-engine testing."
license: "NOASSERTION"
metadata:
  decimalai-skill-id: "a1bcdcd0-75e5-40c3-b6f2-95fa4ff22d41"
  decimalai-version-id: "e88bccdf-2e24-42ed-b03e-ecf562a50cb2"
  decimalai-version: "1"
  decimalai-body-sha256: "1d0279082ff9ed2cf9d147a3c0d37010477fc629b8f80e6b94dbdc2e561bad9e"
  decimalai-name: "v8/jsvu"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "testing"
  decimalai-source: "https://app.decimal.ai/s/v8-jsvu@1/SKILL.md"
---
# JSVU (JavaScript engine Version Updater)

Use `jsvu` to install and test across multiple JavaScript engines (e.g., v8,
spidermonkey, javascriptcore, chakra).

## Installation and Setup

For non-interactive installation and updating of specific engines on Linux, run:

```bash
npx jsvu --os=linux64 --engines=v8,spidermonkey,javascriptcore
```

You can customize the `--engines` flag with the engines you wish to test (e.g.,
`v8,v8-debug,spidermonkey,javascriptcore,graaljs`).

## Running Engines

Once installed, the engines are available in `~/.jsvu/bin/`. You can run them
directly:

```bash
~/.jsvu/bin/v8 my_test.js
~/.jsvu/bin/spidermonkey my_test.js
~/.jsvu/bin/javascriptcore my_test.js
```

This allows you to easily cross-reference behaviors and bugs against other major
JS engines.
