MenuStart here / Open JSpark the first time

Docs / Start here

Open JSpark the first time

Open JSpark, and it shows a short Snippet that runs by itself.

On this page

On a Mac

  1. Open JSpark from your Applications folder.
  2. If macOS asks whether you want to open an app downloaded from the internet, click Open. It asks only the first time.
A macOS box: “JSpark.app” is an app downloaded from the Internet. Are you sure you want to open it? Safari downloaded this file today. Apple checked it for malicious software and none was detected. The buttons Cancel and Open.

Click Open.

Every Mac release of JSpark is signed and notarized. If it still does not open, see JSpark will not open.

On Windows

  1. When you open the installer, Windows may say Windows protected your PC. Click More info, then Run anyway. Windows asks only the first time.
  2. The installer opens JSpark when it is done. Later, open JSpark from the Start menu.

Windows shows that message because the installer isn’t code-signed yet. See Install JSpark.

What you see first

JSpark opens with one tab and a short Snippet in it. A moment later it runs by itself, because Run as you type is on. There is no account to make and nothing to set up.

The console prints 1, 2, then 3: the line after await runs after the code below it.

This Snippet shows that code does not always run in the order it is written. It is an ordinary Snippet: change it and see what happens, or close it. Your first Run goes on from here.

The Home screen

Close the tab with ⌘W or Ctrl+W. With no tab open, JSpark shows the Home screen. Pick a Starter to open it in a new tab. To bring the closed tab back, press ⌘⇧T or Ctrl+Shift+T.

The Home screen lists every Starter, from Node.js to Canvas.

The next time you open JSpark, it shows the tabs you left open. See Where your work goes.

The pictures show JSpark on a Mac. On Windows, the window buttons are at the top right, the menus are in theMenu button at the left end of the tabs, and shortcuts use Ctrl where a Mac uses ⌘. The rest works the same way.

Esc

Type to search every docs page.

JSpark is downloading

When you open JSpark-Setup.exe, Windows may stop it once, because the installer isn’t code-signed yet. If the file came from jspark.app:

A blue Windows box, “Windows protected your PC”: Microsoft Defender SmartScreen prevented an unrecognised app from starting. Under it, the link More info, and the button Don’t run.

1Click More info.

The same box after More info: Application JSpark-Setup-1.4.0.exe, Publisher Unknown publisher, and the buttons Run anyway and Don’t run.

2Then click Run anyway.

You see this only once: updates install inside the app. More in Install JSpark.