Prerequisites
Required Tools
Install Node.js 18+
Install Rust (latest stable)
Clone Repository
Install Dependencies
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: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