Installation

Compiling from scratch

You need to have the Rust compiler installed.

Clone the repository

$ git clone https://github.com/luminalang/lumina.git

Compile and install the compiler

$ cd lumina/
$ cargo build --release
$ sudo mv target/release/lumina /usr/bin/

Copy the luminapath directory containing the Lumina libraries to a suitable runtime folder and point the $LUMINAPATH environment variable to it.

$ cp -r luminapath/ $HOME/.local/share/lumina

# If you're using bash
$ echo "export LUMINAPATH=$HOME/.local/share/lumina/" >> $HOME/.bashrc