Command Line Interface (CLI)

CORELS is implemented in C++. Its source can be found at our public repo, along with further documentation for compiling and using it from the command line:
To get started, first download the repo:

git clone

CORELS depends on gmp, mpfr, and libmpc. These must be installed on your system to compile CORELS. For instance, you can install them via homebrew:

brew install libmpc

The above code will install all three of the required libraries.

To compile, run make corels from the src/ directory


A python wrapper of CORELS, called pycorels, is also available. To install, first download the repository containing the python binding, which can be found at

git clone

Then, run make from the src/ directory of the above repo.

Then, copy to a location on your linker path, such as /usr/local/lib on Linux.

Finally, run python install from the pycorels/ directory. You might have to use sudo for this. Once done, you should be able to import pycorels from within python.


R binding coming soon!

Once you've installed CORELS, head over to the examples page to get started.