Prerequisites
Before you begin, ensure you have the following tools installed on your system:Required Dependencies
Rust
Required for compiling the Tauri backend
Node.js
JavaScript runtime for the build process
Bun
Fast JavaScript package manager and runtime
LiquidLauncher uses a specific Rust nightly toolchain version: nightly-2026-01-14. This is automatically configured via the
rust-toolchain.toml file in the repository.Installing Rust
If you don’t have Rust installed, follow the instructions on Rust’s official website:Installing Bun
Install Bun by following the instructions on Bun’s official website:Cloning the Repository
Clone with submodules
Clone the repository including all submodules:
The
--recurse-submodules flag is important as the project depends on Git submodules.Building the Project
Install dependencies and build
Install all required Node.js dependencies and build the frontend:This command does two things:
bun install- Installs all npm dependencies frompackage.jsonbun run build- Runs Vite to build the frontend application
Run in development mode (optional)
To run the launcher in development mode with hot-reloading:This will:
- Start the Vite development server
- Compile the Rust backend
- Launch the application with debugging enabled
Available Scripts
Here are the npm scripts defined inpackage.json:
Script Usage
bun run dev- Start Vite development server only (frontend)bun run build- Build frontend for productionbun run preview- Preview production build locallybun run tauri dev- Run full application in development modebun run tauri build- Build complete application for production
Project Structure
Understanding the project layout:Rust Toolchain Configuration
The project uses a pinned Rust nightly toolchain specified inrust-toolchain.toml:
Build Requirements
Minimum Versions
- Rust: 1.79.0 or higher (specified in
Cargo.toml) - Node.js: 16.x or higher (for Vite 5)
- Bun: 1.0.0 or higher
Platform-Specific Requirements
- Windows
- macOS
- Linux
- Microsoft Visual C++ Build Tools
- Windows 10 SDK
Troubleshooting
Build fails with Rust errors
Build fails with Rust errors
Ensure you’re using the correct Rust toolchain:The output should show
nightly-2026-01-14. If not, run:Submodule errors during build
Submodule errors during build
If you forgot to clone with
--recurse-submodules, initialize them manually:Node.js dependency issues
Node.js dependency issues
Clear the cache and reinstall:
Tauri compilation errors
Tauri compilation errors
Make sure you have all platform-specific dependencies installed. See the Platform-Specific Requirements section above.
Next Steps
Contributing
Learn how to contribute to LiquidLauncher
Architecture Overview
Explore the architecture and codebase structure