Install

The latest version of the Gren compiler is 0.3.0 (changelog).

There are several ways to install this on your system.

If you already have NodeJS and NPM, the fastest way to get Gren is by downloading the NPM package. If you do, then you can skip the rest of this document.

If you don't have, or prefer not to use, NPM then you can find pre-compiled binaries for Windows, Mac OS and Linux at GitHub. If you're interested in trying out the latest unstable compiler, then you can find builds of the main branch here as well.

If none of these options work for you, then you can always build your own compiler from source.

Once you have the binary, you'll need to give it permission to execute and place it somewhere in your PATH. Below is an example for Mac OS:

 chmod +x gren_mac
 mv gren_mac /usr/local/bin/gren

You should now be able to execute the gren command and see a friendly greeting.

If you haven't done so already, now is the time to learn the language.