mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
721 B
721 B
Building the new Roc compiler from source
Note: If you're looking to build the old compiler from source, go here.
If you run into any problems getting Roc built from source, please ask for help in the #beginners channel on Roc Zulip (the fastest way), or create an issue in this repo!
Recommended way
Download zig 0.15.2 and add it to your PATH. Search "Setting up PATH" for more details.
Do a test run with
zig build roc
Using Nix
If you're familiar with nix and like using it, you can build the compiler like this:
nix develop ./src
buildcmd