mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
17 lines
464 B
Markdown
17 lines
464 B
Markdown
# Roc installation guide for other systems
|
|
|
|
1. [Install Rust](https://rustup.rs/)
|
|
|
|
1. [Build Roc from source](../BUILDING_FROM_SOURCE.md)
|
|
|
|
1. Run examples:
|
|
|
|
```sh
|
|
cargo run examples/platform-switching/rocLovesRust.roc
|
|
|
|
# This requires installing the Zig compiler, too.
|
|
cargo run examples/platform-switching/rocLovesZig.roc
|
|
|
|
# This requires installing the `clang` C compiler, too.
|
|
cargo run examples/platform-switching/rocLovesC.roc
|
|
```
|