mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
860 B
860 B
- Download the latest nightly from the assets here.
- To prevent "roc can't be opened because Apple can't check it...":
xattr -d com.apple.quarantine roc_nightly-macos_x86_64-<VERSION>.tar.gz
- Untar the archive:
roc_nightly-macos_x86_64-<VERSION>.tar.gz
- To be able to run examples:
- for the Rust example:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- for the zig example:
brew install zig
- Run examples with:
# Rust. If you installed rust in this terminal you'll need to open a new one first! ./roc examples/hello-world/rust-platform/helloRust.roc # Zig ./roc examples/hello-world/zig-platform/helloZig.roc
- See here for the other examples.