Development Setup
Prerequisites
Section titled “Prerequisites”You’ll need the following installed before you start:
- Rust - Install via rustup.rs
- Node.js 22 or newer
- Tauri v2 prerequisites for your OS - See the official guide
On Linux, you also need these system packages:
sudo apt install libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libudev-devClone and run
Section titled “Clone and run”git clone https://github.com/alexandrosnt/Reach.gitcd Reachnpm installnpm run tauri devThis starts the Vite dev server on port 1420 and launches the Tauri window. Hot module replacement works for the frontend. Rust changes trigger an automatic rebuild (Tauri handles this for you).
Other useful commands
Section titled “Other useful commands”npm run dev # Vite dev server only (no Tauri window)npm run build # Build frontend onlynpm run tauri build # Full production build (outputs installers)npm run check # TypeScript and Svelte type checkingnpm run i18n:check # Validate all locale files match en.jsoncd src-tauri && cargo check # Check Rust code without buildingProduction builds
Section titled “Production builds”Running npm run tauri build outputs platform-specific installers in src-tauri/target/release/bundle/. On Windows you get an MSI and NSIS installer, on macOS a .dmg, and on Linux a .deb and .AppImage.