Installation
Shell (recommended)
curl -fsSL https://raw.githubusercontent.com/limlabs/rex/main/install.sh | shDownloads 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 | shSupported platforms
| OS | Architecture | Status |
|---|---|---|
| macOS | x86_64 (Intel) | Supported |
| macOS | aarch64 (Apple Silicon) | Supported |
| Linux | x86_64 | Supported |
| Linux | aarch64 | Supported |
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/rexOr use npx for one-shot commands without a global install:
npx @limlabs/rex init my-appDocker
Rex provides an official Docker image for containerized deployments:
docker pull ghcr.io/limlabs/rex:latestOr 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 --releaseThe 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