On Mac and Linux, the homebrew package manager can be used via
brew install llama.cppThe formula is automatically updated with new llama.cpp releases. More info: ggml-org#7668
On Mac and Linux, the Nix package manager can be used via
nix profile install nixpkgs#llama-cppFor flake enabled installs.
Or
nix-env --file '<nixpkgs>' --install --attr llama-cppFor non-flake enabled installs.
This expression is automatically updated within the nixpkgs repo.
On Mac and Linux, Flox can be used to install llama.cpp within a Flox environment via
flox install llama-cppFlox follows the nixpkgs build of llama.cpp.