# Install libbui needs Rust 1.90 or newer. It uses rustls, so there is no OpenSSL or other system library to install. ```sh cargo install --locked --git https://tangled.sh/@vinnymac.dev/libbui libbui ``` To build from source: ```sh git clone https://tangled.sh/@vinnymac.dev/libbui cd libbui cargo build --release ./target/release/libbui ``` Shell completions, if you like them: ```sh libbui completions zsh > "${fpath[1]}/_libbui" # zsh libbui completions bash > ~/.local/share/bash-completion/completions/libbui libbui completions fish > ~/.config/fish/completions/libbui.fish ``` ## RISC-V libbui builds as a static `riscv64gc-unknown-linux-musl` binary that runs on any 64-bit RISC-V Linux. Cross-compiling needs [Zig](https://ziglang.org) and [cargo-zigbuild](https://github.com/rust-cross/cargo-zigbuild) for the C parts of the TLS stack: ```sh scripts/riscv64.sh # builds, checks it is static, runs it under qemu-riscv64 if present ``` CI builds the same binary on every push and keeps it as a workflow artifact. Tagged releases publish it alongside the other platforms. ## Try it in a browser [libbui.vinnymac.dev](https://libbui.vinnymac.dev) runs the static ARM64 Linux binary on Linux inside your browser, through [unkernel](https://github.com/pithings/unkernel), against a built-in sample library. Nothing leaves the tab. The page lives in [`web/`](../web/README.md).