# Install pre-built version of llama.cpp ## Betelgeuse v0.8.0 (Linux x86-64, SM86) Betelgeuse is an independent fork. Its validated pre-built release is a Linux x86-64 CUDA SM86 archive, not one of the upstream llama.cpp packages listed below. It contains the `betelgeuse` CLI, `bel-server`, `bel-cli` and `bel-inkling2`; model weights are not bundled. ### One-command install ```sh curl -fsSL https://github.com/Betelgeuse-AI/Betelgeuse/releases/latest/download/install.sh -o install.sh && sh install.sh betelgeuse pull inkling-2-mini betelgeuse run inkling-2-mini ``` The installer detects OS, architecture, NVIDIA GPU, compute capability, driver, VRAM, system RAM and CPU flags. It installs into `${XDG_DATA_HOME:-~/.local/share}/betelgeuse` and creates a launcher in `~/.local/bin`. Root privileges are not used. Use `--check` to inspect a machine without installing, `--prebuilt` to require a binary, `--source` to build from source, and `--with-model` to download the checkpoint immediately. On Windows use `docs/install.ps1` from the archive with `-Mode Source -Build`; no Windows or macOS binary is published. ### Manual archive install ```sh curl -fL -O https://github.com/Betelgeuse-AI/Betelgeuse/releases/download/v0.8.0/betelgeuse-v0.8.0-linux-x86_64-sm86.tar.gz curl -fL -O https://github.com/Betelgeuse-AI/Betelgeuse/releases/download/v0.8.0/betelgeuse-v0.8.0-linux-x86_64-sm86.tar.gz.sha256 sha256sum -c betelgeuse-v0.8.0-linux-x86_64-sm86.tar.gz.sha256 tar xf betelgeuse-v0.8.0-linux-x86_64-sm86.tar.gz cd betelgeuse-v0.8.0-linux-x86_64-sm86 ./bin/betelgeuse doctor ``` The archive requires a compatible NVIDIA driver, SM86 hardware and about 16 GB of system RAM. The CLI downloads the original checkpoint and the routing oracle automatically; to place them manually: ```sh hf download thinkingmachines/Inkling-2-Mini \ config.json chat_template.jinja hf_quant_config.json tokenizer.json \ tokenizer_config.json tokenizer.model model.safetensors.index.json \ model-00001-of-00001.safetensors mtp.safetensors --local-dir ./inkling-2-mini hf download Betelgeuse-AI/Inkling-2-Mini-Routing-Oracle \ best_coda_tap01_i8.bin best_pre_tap6_i8.bin --local-dir ./inkling2-oracle ``` ### Troubleshooting and advanced configuration - `betelgeuse doctor` prints each check with a blocking-issue count. Fix GPU, driver, binary or model problems before running the engine. - If the launcher is not on PATH, run `~/.local/bin/betelgeuse` directly or add that directory to PATH. - `betelgeuse pull` keeps `.part` files and resumes interrupted downloads. A checksum mismatch deletes the partial file; rerun the command. - If oracle files are missing or the CPU lacks AVX-VNNI, the CLI reports the reason and falls back to ordinary native decode. Use `--no-oracle` to force that path. - `--context`, `--threads`, `--host`, `--port` and `--set KEY=VALUE` override derived settings. See [betelgeuse.md](betelgeuse.md#user-cli) for the full table. - Source builds for other GPUs and platforms: [betelgeuse.md](betelgeuse.md#configure-and-build). | Install via | Windows | Mac | Linux | |-------------|---------|------|-------| | conda-forge | ✅ | ✅ | ✅ | | Winget | ✅ | | | | Homebrew | | ✅ | ✅ | | MacPorts | | ✅ | | | Nix | | ✅ | ✅ | ## conda-forge (Windows, Mac and Linux) conda-forge provides builds for: - CUDA (Windows and Linux) - Vulkan (Windows and Linux) - Apple Metal (macOS) ```sh conda install -c conda-forge llama.cpp ``` ```sh mamba install -c conda-forge llama.cpp ``` ```sh # Project-local installation pixi add llama.cpp # Global installation pixi global install llama.cpp ``` This distribution is managed on [`conda-forge/llama.cpp-feedstock`](https://github.com/conda-forge/llama.cpp-feedstock/). Shall you have any problems, please open an issue on [its issue tracker](https://github.com/conda-forge/llama.cpp-feedstock/issues). ## Winget (Windows) ```sh winget install llama.cpp ``` The package is automatically updated with new `llama.cpp` releases. More info: https://github.com/ggml-org/llama.cpp/issues/8188 ## Homebrew (Mac and Linux) ```sh brew install llama.cpp ``` The formula is automatically updated with new `llama.cpp` releases. More info: https://github.com/ggml-org/llama.cpp/discussions/7668 ## MacPorts (Mac) ```sh sudo port install llama.cpp ``` See also: https://ports.macports.org/port/llama.cpp/details/ ## Nix (Mac and Linux) ```sh nix profile install nixpkgs#llama-cpp ``` For flake enabled installs. Or ```sh nix-env --file '' --install --attr llama-cpp ``` For non-flake enabled installs. This expression is automatically updated within the [nixpkgs repo](https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/by-name/ll/llama-cpp/package.nix#L164).