Installation
Requirements
| Requirement | Version |
|---|---|
| Node.js | 20.0.0 or later |
| npm / pnpm / yarn / bun | npm 9+, pnpm 8+, yarn 4+, bun 1.0+ |
| Windows | 10 or later (x64, ARM64) |
| macOS | 12 Monterey or later (Intel + Apple Silicon) |
| Linux | glibc 2.35+ (Ubuntu 22.04+, Fedora 36+) |
No Rust, no system libraries, no native build tools required.
Install the CLI
The recommended approach is a global install — do it once and glyx is available in any directory:
npm install -g glyx-cliThen verify:
glyx --version
# glyx 0.3.0Global install is optional. If you'd rather not install globally, you can run any glyx command without installing:
| Package manager | One-off usage |
|---|---|
| npm | npx glyx-cli <command> |
| pnpm | pnpm dlx glyx-cli <command> |
| yarn | yarn dlx glyx-cli <command> |
| bun | bunx glyx-cli <command> |
Or install as a project-local dev dependency — see Add to an existing project below.
Create a new project
glyx create my-app
cd my-appThis scaffolds a new project with TypeScript, a starter component, and glyx.config.ts pre-configured.
Available templates:
| Template | Contents |
|---|---|
blank | Minimal counter app with the Glyx logo (default) |
notes | Sidebar + content layout with navigation |
dashboard | Stat cards, sidebar nav, data display |
settings | Preferences panel with sections and toggles |
glyx create my-app --template dashboardInstall project dependencies
Inside the new project, install JS dependencies with whichever package manager you prefer — Glyx detects it automatically from the lockfile:
npm installThen start the dev server:
glyx devAdd to an existing project
Prefer a local install scoped to one project? Install as a dev dependency and run via package.json scripts:
npm install --save-dev glyx-cli{
"scripts": {
"dev": "glyx dev",
"build": "glyx build",
"package": "glyx package"
}
}Platform notes
macOS
On first run, macOS may show a Gatekeeper prompt. Right-click the binary and select Open to allow it, or run:
xattr -d com.apple.quarantine ~/.glyx/runtime/glyx-runtimeLinux (Wayland)
Glyx defaults to X11 compatibility mode. To enable native Wayland:
GLYX_WAYLAND=1 glyx devOr set display: "wayland" in glyx.config.ts.
Windows
On Windows, the runtime requires the Visual C++ Redistributable 2022. This is pre-installed on most systems. If you see VCRUNTIME140.dll not found, download it from Microsoft's website (opens in a new tab).
GPU rendering requires DirectX 12 on Windows. Integrated graphics (Intel UHD, AMD Radeon integrated) are fully supported.