Skip to main content

Prerequisites

Required Tools

1

Install Node.js 18+

Download from nodejs.org or use a version manager:
macOS/Linux (nvm)
Windows (nvm-windows)
2

Install pnpm 10.28.2

Fast, disk-efficient package manager:
Verify installation:
3

Install Rust (latest stable)

Install via rustup:
macOS/Linux
Windows
Verify installation:
4

Install Tauri system dependencies

Clone Repository

Install Dependencies

1

Install frontend dependencies

This installs all packages from package.json.
2

Install Rust dependencies

Rust dependencies are automatically downloaded during first build.To verify Rust setup:

Editor Setup

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

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