# Installation

> To integrate into your Zig project, let zig fetch pin the dependency and its content hash into build.zig.zon.

4.0.0-rc.1 · f2ef38ea

To integrate into your Zig project, let `zig fetch` pin the dependency and its content hash into `build.zig.zon`:

```bash
zig fetch --save=forkunion https://github.com/ashvardanian/ForkUnion/archive/refs/tags/v4.0.0-rc.1.tar.gz
```

That records the dependency; `build.zig` still has to wire it, and the module carries the compiled artifact so a consumer does not relink it by hand:

```zig
const forkunion = b.dependency("forkunion", .{ .target = target, .optimize = optimize });
exe.root_module.addImport("forkunion", forkunion.module("forkunion"));
```
