System Requirements
Before installing Rezi, ensure your system meets these requirements:- Runtime: Node.js 18+ (18.18+ recommended) or Bun 1.3+
- Platforms: Linux x64/arm64, macOS x64/arm64, Windows x64/arm64
- Terminal: 256-color or true-color support recommended
- Graphics: For inline images, a terminal supporting Kitty graphics, Sixel, or iTerm2 inline images. Canvas and chart widgets work in any terminal via Unicode blitters.
Prebuilt native binaries are published for all supported platforms. The package does not compile from source at install time.
Quick Start with Scaffolding
The fastest way to get started is usingcreate-rezi:
create-rezi includes 6 starter templates:
- dashboard — Product-grade operations console (default)
- minimal — Single-screen utility TUI
- cli-tool — Multi-screen CLI with routing
- animation-lab — Declarative animation playground
- stress-test — Visual benchmark matrix
- starship — Full-featured command console
Manual Installation
For manual setup or to add Rezi to an existing project:Core Packages
Install the runtime-agnostic core and Node.js backend:JSX Support (Optional)
If you want to use JSX instead of theui.* factory functions:
tsconfig.json
Testing Utilities (Optional)
For testing Rezi applications:Package Overview
| Package | Description | When to Install |
|---|---|---|
@rezi-ui/core | Runtime-agnostic widgets, layout, themes | Required — Core framework |
@rezi-ui/node | Node.js/Bun backend | Required — Terminal I/O |
@rezi-ui/native | N-API binding to Zireael | Installed automatically with @rezi-ui/node |
@rezi-ui/jsx | JSX runtime (no React) | Optional — Only if using JSX |
@rezi-ui/testkit | Testing utilities | Optional — Only for testing |
create-rezi | Project scaffolding CLI | Optional — Used via npm create rezi |
Verify Installation
Create a minimal test file to verify installation:index.ts
q to quit.
Terminal Support
Rezi auto-detects your terminal emulator and enables the best available features:| Terminal | Graphics Protocol | Hyperlinks (OSC 8) |
|---|---|---|
| Kitty | Kitty graphics | ✓ |
| WezTerm | Sixel | ✓ |
| iTerm2 | iTerm2 inline images | ✓ |
| Ghostty | Kitty graphics | ✓ |
| Windows Terminal | — | ✓ |
Override Terminal Capabilities
Set environment variables to override auto-detection:Next Steps
Quickstart Tutorial
Build your first counter app step-by-step
JSX Setup
Configure JSX for Rezi (optional)
Example Templates
Explore starter templates and demos
Core Concepts
Learn Rezi’s architecture and patterns