To install Caboose on Debian or Ubuntu,
wget the latest release DEB, and install it with
$ wget -O caboose.deb https://github.com/CabooseLang/Caboose/releases/download/<VERSION>-r<REVISION>/Caboose-<VERSION>-Linux.deb$ sudo dpkg -i ./caboose.deb
To install Caboose on CentOS or Fedora,
curl the latest RPM package, and install it with
$ curl -sL https://github.com/CabooseLang/Caboose/releases/download/<VERSION>-r<REVISION>/Caboose-<VERSION>-Linux.rpm > caboose.rpm$ sudo rpm -i caboose.rpm
To install Caboose on MacOS, download the latest DMG from here, and install it as usual (you should be able to tell I know nothing about a Mac).
Caboose is fairly new so we haven't had the time to package it for different OSes yet, therefore you will have to build it from source. This has changed! If you want to use a native OS package, you can!
$ git clone https://github.com/CabooseLang/Caboose.git$ cd Caboose$ bash build.sh # Uses CMake to build the executable
To run some Caboose code:
$ ./build/caboose # For the REPL$ ./build/caboose /path/to/your/code.cb # For a file
If you want to run
caboose from any directory, you can install it. First, go into the build directory, then run this command: