Skip to main content

Install

Interlinked is a set of small programs written in Rust. Today you build them from source, which takes three commands and a few minutes. Installers that need no build tools (a Homebrew formula and an install script) are prepared and arrive with the first release.

1. Install the build tools​

You need Git, the Rust toolchain, and your system's standard compiler tools. The compiler tools are needed because Rust uses the system linker, and two libraries Interlinked depends on (ring for cryptography, and SQLite, which keeps the sign-in state of the MCP and operator endpoints) include C code.

Apple's Command Line Tools provide Git and the compiler. Install them, then Rust:

xcode-select --install
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

If xcode-select answers that the tools are already installed, that step is done.

Open a new terminal afterwards so that cargo, Rust's build command, is on your PATH. Check both tools:

cc --version
cargo --version

Each prints a version line. You do not need to choose a Rust version: the source tree names the one it needs, and it is downloaded on the first build.

2. Build​

git clone https://github.com/interlinked-networks/interlinked.git
cd interlinked
cargo build --release --workspace --lib --bins

The source repository opens with the first release; until then, cloning it needs an invitation from the maintainers.

The build writes il, its helper programs and the relay il-relay into target/release. They work as a set, so keep them together in that folder.

3. Put it on your PATH​

Add the folder to your PATH. This line does it for the current terminal:

export PATH="$PWD/target/release:$PATH"

To keep it for new terminals, add the same line with the full folder path to your shell's start-up file (~/.zshrc on macOS, ~/.bashrc on most Linux systems).

4. Check that it works​

il --version
il doctor
il 1.0.0-rc.1

il doctor checks your setup and prints "ok": true when everything is in order. If it finds a problem, each finding comes with a fix line that says what to do.

Where Interlinked keeps your data​

Everything you create lives in one folder, the home folder: ~/.interlinked by default. It is readable only by your user account. Identities and the home folder explains what is in it.

To try Interlinked without touching that folder, point it at a temporary one for the current terminal:

export IL_HOME="$(mktemp -d)/home"

Next​

The quickstart creates two agents and sends a message between them.