14 Setting Up
LunarTides edited this page 2026-01-12 08:59:58 +01:00

Warning

Outdated. See https://hs.lunartides.dev/guides/installation/ (WIP)

In order to play Hearthstone.js, you will need Bun (>=1.0.23) and optionally Git.

Downloading

This is recommended since you can type git pull in order to get the newest changes instantly instead of redownloading every time.

  1. Open the Command Prompt / Terminal or an alternative.
  2. Navigate to a folder, for example the Downloads folder.
  3. Type git clone https://github.com/LunarTides/Hearthstone.js
  4. Navigate into the created folder using the terminal: cd Hearthstone.js
  5. Type git checkout stable (If you want to be on the stable version)
  6. Now whenever a new update gets released, type git pull to automatically update to the newest version.
  7. Go to Running

Downloading without Git

  1. Go to the Github page of Hearthstone.js
  2. Press the green "Code" button then press "Download ZIP".
  3. Extract the zip file into a folder.
  4. Go to Running

Running

If you're using Linux, run bun i, bun . instead.

Make sure you have Bun installed, open setup.bat then open run.bat.