Pacto is a Tauri v2 desktop app built on a SvelteKit/Svelte frontend backed by a Rust backend. Building it from source requires a Rust toolchain, a recent Node.js runtime, pnpm as the package manager, and a small set of platform-specific system libraries that Tauri and native Rust crates depend on. The guides below walk you through every step for your operating system.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/covenant-gov/pacto-app/llms.txt
Use this file to discover all available pages before exploring further.
Ubuntu
Install system packages via
apt, Rust via rustup, Node.js 20, and pnpm to build Pacto on Ubuntu Linux.macOS
Install Xcode Command Line Tools, Homebrew packages, Rust, Node.js 20, and pnpm to build Pacto on macOS.
Windows
Set up Visual Studio Build Tools, LLVM, Rust, Node.js 20, and pnpm to build Pacto on Windows.
Common Requirements
The following tools are required on every supported platform:| Requirement | Version | How to install |
|---|---|---|
Rust (via rustup) | Any recent stable toolchain | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
| Node.js | v18 or later (v20 recommended) | NodeSource, nvm, Homebrew, or official installer |
| pnpm | Latest (via Corepack) | corepack enable && corepack prepare pnpm@latest --activate |
| Tauri v2 system deps | Platform-specific | See each platform guide below |
pnpm is required. This project uses pnpm workspaces. Do not use
npm install or yarn install — they will not resolve the workspace correctly.Environment Setup
Copy the example environment file and fill in any optional keys before running the app:.env.example file contains three optional variables (all commented out by default):
ALCHEMY_RPC_KEY improves RPC reliability for EVM operations.
Running the App
Once prerequisites are installed andpnpm install has completed, you have two run modes:
Full desktop app — launches the Tauri window with the Rust backend active:
The very first
pnpm tauri:dev can take several minutes while Cargo downloads and compiles all Rust dependencies. Subsequent builds are much faster thanks to the incremental build cache.