| Platform | Architectures |
|---|---|
| iOS | device and simulator |
| Android | aarch64, armv7 |
| macOS | arm64, x86_64 |
| Linux | x86_64, aarch64, armv7 (glibc and musl) |
| Windows | x86_64, aarch64 |
- API reference: docs.rs/iroh
- Example app: sendme, a CLI for direct file transfers between devices
- All languages: platform support matrix
iroh is written in Rust, so the Rust crate is the most fully-featured way to use it. Everything in these docs assumes Rust unless explicitly tagged otherwise.
Install
Add iroh to your project:
For tickets, common protocols, and async runtime support you’ll usually want a few more:
Hello, iroh
This binds an endpoint using the N0 preset (public discovery + default relays), waits until it has a home relay, and prints its 64-character endpoint id. Run it with cargo run.