Rex Documentation

Installation

Shell (recommended)

curl -fsSL https://raw.githubusercontent.com/limlabs/rex/main/install.sh | sh

Downloads the latest binary for your platform to ~/.rex/bin and adds it to your PATH. No Node.js required.

To install a specific version:

REX_VERSION=0.15.2 curl -fsSL https://raw.githubusercontent.com/limlabs/rex/main/install.sh | sh

Supported platforms

OSArchitectureStatus
macOSx86_64 (Intel)Supported
macOSaarch64 (Apple Silicon)Supported
Linuxx86_64Supported
Linuxaarch64Supported

Prerequisites

None. Rex is a single binary with React embedded. No Node.js, no npm install, no package.json needed for zero-config projects. Add a package.json when you need a lockfile or extra dependencies.

npm

If you prefer npm:

npm install -g @limlabs/rex

Or use npx for one-shot commands without a global install:

npx @limlabs/rex init my-app

Docker

Rex provides an official Docker image for containerized deployments:

docker pull ghcr.io/limlabs/rex:latest

Or use the Dockerfile included in your project:

FROM ghcr.io/limlabs/rex:latest
WORKDIR /app
COPY . .
RUN rex build
CMD ["rex", "start"]

See Deployment for full Docker and cloud deployment guides.

From source

For development or custom builds:

git clone https://github.com/limlabs/rex.git
cd rex
cargo build --release

The binary is built to target/release/rex. You'll need Rust 1.75+ and a C++ compiler for the V8 build.

Verify installation

rex --version