Skip to content

Building from Source

Crauzer edited this page Feb 23, 2026 · 1 revision

Building from Source

Instructions for setting up the development environment and building LTK Manager.

Prerequisites

Windows-Specific

  • Visual Studio Build Tools with C++ workload
  • WebView2 runtime (usually pre-installed on Windows 10/11)

Setup

# Clone the repository
git clone https://github.com/LeagueToolkit/ltk-manager.git
cd ltk-manager

# Install frontend dependencies
pnpm install

Development

# Full dev mode (Rust backend + React frontend with hot reload)
pnpm tauri dev

# Frontend only (skip Rust rebuild, faster UI iteration)
pnpm dev

Useful Commands

# Type check
pnpm typecheck

# Lint
pnpm lint

# Format
pnpm format

# All checks at once
pnpm check

# Rust checks
cargo clippy -p ltk-manager
cargo fmt -p ltk-manager

Verbose Logging

RUST_LOG=ltk_manager=trace,tauri=info pnpm tauri dev

Production Build

pnpm tauri build

This creates an installer in src-tauri/target/release/bundle/.

Architecture Overview

See Architecture for details on the codebase structure.

Clone this wiki locally