Prerequisites
Required Tools
1
Install Node.js 18+
2
Install pnpm 10.28.2
Fast, disk-efficient package manager:Verify installation:
3
Install Rust (latest stable)
4
Install Tauri system dependencies
- macOS
- Linux (Ubuntu/Debian)
- Windows
Clone Repository
Install Dependencies
1
Install frontend dependencies
package.json.2
Install Rust dependencies
Rust dependencies are automatically downloaded during first build.To verify Rust setup:
Editor Setup
VS Code (Recommended)
Install recommended extensions:.vscode/extensions.json
Settings
.vscode/settings.json
Environment Variables
Optional: AI Provider Keys
Create.env in project root for development API keys:
.env
These are optional. Glyph stores API keys in the user’s space via the settings UI.
.env is only for testing during development.Verify Setup
Run these commands to verify everything is working:1
Frontend typecheck
2
Rust typecheck
3
Linting
4
Tests
Running the App
Development Mode
- Full Desktop App (Recommended)
- Frontend Only
- Starts Vite dev server with HMR
- Compiles Rust backend
- Opens native desktop window
- Auto-reloads on file changes
Hot Reload Behavior
- Frontend changes (TypeScript/React/CSS): Instant HMR
- Rust changes: Full recompile (~5-30s depending on changes)
Troubleshooting
”pnpm: command not found"
"rustc: command not found”
Restart terminal after installing Rust, or run:Tauri dev fails with “webkit2gtk not found” (Linux)
“error: linker cc not found” (Linux)
macOS: “xcrun: error: invalid active developer path”
Windows: “error: the cargo binary is missing”
Ensure %USERPROFILE%\.cargo\bin is in your PATH. Restart terminal after installing Rust.
pnpm install fails with EACCES
Biome errors in VS Code
Ensure Biome extension is installed and enabled:Next Steps
Building
Learn how to build production releases
Testing
Run tests and write new ones
Architecture
Understand the codebase structure
Tauri Commands
Learn IPC communication