Installation¶
This page covers everything you need to install the Ooga Booga toolchain and run .ooga programs.
Prerequisites¶
Rust toolchain¶
Ooga Booga compiles .ooga programs to Rust, then uses cargo / rustc to produce a native binary. You need the Rust toolchain installed.
Install via rustup:
After installation, verify:
That is the only prerequisite. No Node.js, no npm, no extra runtimes.
Option 1 — Install script (recommended)¶
Clone the repository and run the install script:
This builds ooga and oogac in release mode and installs them to /usr/local/bin/. If you don't have write access there, use the --user flag:
Or specify a custom prefix:
After a --user install, add ~/.local/bin to your PATH if it isn't already:
Option 2 — Manual build¶
The binaries are at:
Add them to your PATH:
Verifying the installation¶
Expected output:
UGH! OOGA — CAVE BUILD TOOL FOR OOGA BOOGA PROGRAMS
Usage: ooga <COMMAND>
Commands:
new Create a new Ooga Booga project
build Build the project (transpile + compile)
run Build and run the project
check Check the project for errors without building
clean Remove build artifacts
test Run tests
help Print this message or the help of the given subcommand(s)
Quick smoke test¶
Expected output:
Running tests¶
From the repository root:
All unit and integration tests should pass. Integration tests compile and run example programs with rustc.