Installation

Get Rui up and running on your system in just a few steps.

Prerequisites

Before installing Rui, make sure you have Node.js installed on your system. Rui requires Node.js version 16 or higher.

You can check if Node.js is installed by running:

node --version
npm --version

If Node.js is not installed, download it from nodejs.org.

Install Rui

Install Rui globally using npm:

npm install -g rui-lang

This will install the Rui CLI tool globally on your system, allowing you to run Rui programs from anywhere.

Verify Installation

To verify that Rui is installed correctly, run:

rui --version

You should see the current version of Rui printed to the console.

Get Help

To see all available commands and options:

rui --help

Next Steps

Now that you have Rui installed, you're ready to write your first program! Check out the Hello World guide to get started.