Linux x86_64
How to install Roc
In order to develop in Roc, you need to install the Roc CLI, which includes the Roc compiler and some helpful utilities.
-
Download the latest nightly from the assets here.
-
Untar the archive:
-
To be able to run the
roc
command anywhere on your system; add the line below to your shell startup script (.profile, .zshrc, ...): -
Check everything worked by executing
roc version
-
If you'd like to use the repl (
roc repl
); install libc development files and ld (binutils) :- On Ubuntu/Debian:
- On ArchLinux/Manjaro:
- on Fedora:
-
Download and run hello world: