# RunJS

A desktop JavaScript scratchpad that evaluates code as you type, with Node.js and browser environments.

> This is the Markdown version of the RunJS page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/runjs>

- **Latest version**: `4.1.0`
- **Developer**: Luke Haas
- **Homepage**: <https://runjs.app/>
- **Categories**: [Developer Tools](https://opennavo.com/categories/developer-tools)
- **Install**: `brew install --cask runjs`
- **30-day installs**: 11
- **Homebrew**: Still offered by Homebrew; paused by OpenNavo
- **Download URL**: <https://github.com/lukehaas/RunJS/releases/download/v4.1.0/RunJS-4.1.0-universal.dmg>
- **SHA-256**: `e39fc1b495121f5808ddc50b570d933f1493066ecb247bfe94ce81a9ff082a07`

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "app": [
        "RunJS.app"
      ],
      "target": "/Applications/RunJS.app"
    },
    "phase": "install",
    "sources": [
      "RunJS.app"
    ],
    "target": "/Applications/RunJS.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/me.lukehaas.runjs.sfl*",
            "~/Library/Application Support/runjs",
            "~/Library/Logs/RunJS",
            "~/Library/Preferences/me.lukehaas.runjs.plist",
            "~/Library/Saved Application State/me.lukehaas.runjs.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

RunJS is a desktop playground for trying JavaScript ideas and seeing results as you type. It provides Node.js and browser environments, so you can explore code in either context without turning a scratchpad experiment into a larger project.

- Automatically evaluates code as you type and displays results.
- Includes Node.js and browser environments.
- Supports installing npm packages for experimenting with libraries and frameworks.
- Provides Magic Comments and Logpoints to inspect values without adding `console.log` calls.
- Lets you save and reuse code snippets.

Install the macOS app with `brew install --cask runjs`, then open RunJS from Applications. The cask requires macOS 12 or later. The Homebrew package installs the macOS app; the product’s website also lists downloads for other platforms, but they are not installed by this cask.

[RunJS official website](https://runjs.app/) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/r/runjs.rb)

## System requirements

- macOS 12 or later · Version: 4.1.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · Checked 2026-12-06
  - <https://github.com/lukehaas/RunJS/releases/download/v4.1.0/RunJS-4.1.0-universal.dmg>
  - SHA-256: `e39fc1b495121f5808ddc50b570d933f1493066ecb247bfe94ce81a9ff082a07`
- macOS 12 or later · Version: 4.1.0 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · Checked 2026-12-06
  - <https://github.com/lukehaas/RunJS/releases/download/v4.1.0/RunJS-4.1.0-universal.dmg>
  - SHA-256: `e39fc1b495121f5808ddc50b570d933f1493066ecb247bfe94ce81a9ff082a07`

## Uninstall

- `brew uninstall --cask runjs`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask runjs`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/me.lukehaas.runjs.sfl*` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · These entries come from the Homebrew definition, checked 2026-12-06. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Application Support/runjs` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · These entries come from the Homebrew definition, checked 2026-12-06. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Logs/RunJS` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · These entries come from the Homebrew definition, checked 2026-12-06. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/me.lukehaas.runjs.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · These entries come from the Homebrew definition, checked 2026-12-06. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Saved Application State/me.lukehaas.runjs.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · These entries come from the Homebrew definition, checked 2026-12-06. They say what it declares, not what is on your Mac.

## Latest release notes

### 4.1.0 (2026-07-07)

Adds AI assistant and npm script options, updates the runtime components, and fixes two issues.

**Options**

- Added a custom provider option for the AI assistant.
- Added an option to control npm install scripts.

**Updates**

- Upgraded Node.js to 24.17.0, Chromium to 150, and V8 to 15.0.
- Fixed an npm caching issue.
- Fixed top-of-file string literals not appearing in output.

## Facts and sources

- <https://opennavo.com/apps/runjs>
- <https://opennavo.com/apps/runjs/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/runjs.rb> · Checked 2026-12-06
- <https://formulae.brew.sh/cask/runjs>
