Install

Puzzle ships as one npm package, @magic-spells/puzzle, with the CLI inside it. Install it globally so the puzzle command is on your path, then ask it which version it is.

You need Node.js and npm. Check with node --version if you are not sure they are installed.

Your turn

  1. Open a terminal and run the install command.
  2. Run puzzle --version. It should print puzzle version 0.9.0.

The panel shows each command with the output it prints. Copy puts the command on your clipboard.

This chapter is the only one that needs your own terminal. From chapter 2 on, every lesson runs right here in the browser.

Chapters