Installation
Get AudioGuideKit running on your computer
This guide will have you running AudioGuideKit locally in about 5 minutes. We'll install the prerequisites, clone the repository, and start the development server.
Prerequisites
Install Bun (recommended)
Bun is a fast JavaScript runtime that makes development snappy. It's what we use internally.
macOS / Linux
Open Terminal and run:
curl -fsSL https://bun.sh/install | bashThen restart your terminal or run source ~/.bashrc (or ~/.zshrc on Mac).
Windows
Open PowerShell as Administrator and run:
powershell -c "irm bun.sh/install.ps1 | iex"Then restart PowerShell.
Using Node.js instead?
If you prefer Node.js, you can use that instead. Install Node.js 18 or later from nodejs.org, then replace bun with npm in all commands below.
For example: bun install becomes npm install, and bun run dev becomes npm run dev.
Install git
Git is needed to clone the repository.
macOS
Git comes pre-installed on macOS. Open Terminal and type git --version to verify.
If not installed, you'll be prompted to install the Xcode Command Line Tools.
Windows
Download and install from git-scm.com.
Use the default settings during installation.
Linux
# Ubuntu/Debian
sudo apt install git
# Fedora
sudo dnf install gitClone the repository
Open your terminal, navigate to where you want the project, and clone:
git clone https://github.com/audioguidekit/player.git
cd playerThis creates a player folder with all the AudioGuideKit source code.
Install dependencies
From inside the player folder, install the required packages:
bun installThis downloads all the libraries AudioGuideKit needs. It typically takes 30-60 seconds.
If you see warnings about optional dependencies or peer dependencies, that's normal and can be safely ignored.
Verify installation
Make sure everything is set up correctly by starting the development server:
bun run devYou should see output like:
VITE v6.x.x ready in 500 ms
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
Open http://localhost:3000 in your browser. You should see the demo tour!
What you just installed
Your project now contains:
| Folder | Purpose |
|---|---|
src/data/tour/ | Where your tour JSON files go |
src/ | Application source code |
components/ | React components |
hooks/ | Custom React hooks |
docs/ | Additional documentation |