Skip to content

Getting started

You need Node.js 20.6 or later. Nothing else: excalideck has no runtime dependencies, and the player and its fonts are in the package.

Terminal window
npx excalideck

With no .excalidraw file in the folder, it presents the bundled example: a ten-slide talk about a made-up photo app called Snapline. It prints where it’s serving:

excalideck 0.2.0: http://127.0.0.1:5190
presenting snapline.excalidraw
listening on 127.0.0.1:5190 (this machine only)
→ next · ← back · O overview · R replay · T/A other transitions · F full screen · ? keys

Open http://127.0.0.1:5190 and press → to step through. Add -o to open the browser for you. The same deck is on the home page, in the hosted player.

Any .excalidraw file with numbered frames is a deck:

Terminal window
npx excalideck serve architecture.excalidraw

The page reloads when the file changes, and keeps your place. If the drawing has no frames yet, Make decks in Excalidraw says how to set them up.

To keep using it, install it so that excalideck is on your PATH:

Terminal window
npm install -g excalideck
excalideck new talk

That writes talk.mjs, a starter script with three slides, and builds it into talk.excalidraw. Edit the script, then build and check it:

Terminal window
excalideck build talk.mjs
1. Title [first slide] 0 boxes ✓
2. Overview [morph + draw] 3 boxes ✓
3. Inside [zoom + pop] 5 boxes ✓
Transitions
1 → 2 morph + draw: Overview
→ nothing carries over between these slides; consider `fade` or `camera`, or reuse labels so shapes can morph
...
2 → 3 zoom + pop: Inside
→ zoom anchors on rectangle "Our System" → rectangle "Our System" (diving in)
morphs (3): ellipse "User": moves 100px; rectangle "Our System": moves 71px, grows ×11.5, recolours; ...
0 errors, 0 warnings

That report is the layout checker: problems on each slide, then what every transition will morph. While you work, excalideck dev talk.mjs rebuilds, checks and reloads the browser every time you save.