Installation

Setting up the Reox toolchain on NeolyxOS.

Prerequisites

Reox official support targets NeolyxOS. While portions of the compiler may run on Linux/macOS, the runtime library is optimized for the NeolyxOS kernel.

  • NeolyxOS 2.0+ or compatible Linux distribution
  • Rust toolchain (for building from source)
  • LLVM 18+ development headers

Building from Source

The primary distribution method is currently building from source via Cargo.

# Clone the repository
$ git clone https://github.com/ketiveeai/reox
$ cd reox

# Build compiler
$ cargo build --release

# Install to system path
$ sudo cp target/release/reoxc /usr/bin/

Updating Reox

To update your existing Reox installation to the latest version, follow the instructions for your environment.

On NeolyxOS

# Update via the built-in package manager
$ reoxc pkg update reox@latest

Manual Install (Linux / macOS)

If you built Reox from source or downloaded the standalone binary, simply copy the newly compiled binary into your system path (overwriting the old versions):

# Assuming you are in the reox-lang directory
$ cargo build --release
$ sudo cp target/release/reoxc /usr/local/bin/reoxc
$ sudo cp target/release/reoxc /usr/local/bin/reox

Package Manager

Reox comes with reoxpm for managing dependencies and project scaffolding.

$ reoxpm new my-app
$ reoxpm build
$ reoxpm run
DocsPackagesCommunityBlog