Install
Prebuilt binary (recommended)
Section titled “Prebuilt binary (recommended)”The installer detects your platform and verifies the download’s SHA-256:
curl -fsSL https://raw.githubusercontent.com/octofhir/sof/main/install.sh | shIt installs the octofhir-sof binary to ~/.local/bin by default; override the
destination with OCTOFHIR_SOF_INSTALL_DIR:
OCTOFHIR_SOF_INSTALL_DIR=/usr/local/bin \ curl -fsSL https://raw.githubusercontent.com/octofhir/sof/main/install.sh | shPrebuilt archives are published for x86_64/aarch64 Linux (gnu),
x86_64/arm64 macOS, and x86_64 Windows. Windows users can download the
.zip from the
releases page and extract
octofhir-sof.exe.
With a Rust toolchain
Section titled “With a Rust toolchain”cargo install octofhir-sof-cli # build from source via crates.iocargo install octofhir-sof-cli --features parquet # + Parquet outputThe installed binary is named octofhir-sof.
From source
Section titled “From source”git clone https://github.com/octofhir/sofcd sofcargo build --release -p octofhir-sof-cli # the CLI binarycargo build --release -p octofhir-sof-cli --features parquet # + Parquet outputThe binary is target/release/octofhir-sof. The library
(octofhir-sof) is network-free; the lint crate (octofhir-sof-lint)
resolves FHIR packages through the canonical manager only when you pass
lint --package.