A simple bash script to download the latest pre-compiled binaries from the llama.cpp repository.
This repository provides a convenient way to download the latest llama.cpp binaries without having to compile from source. The script automatically fetches the most recent release from the official llama.cpp GitHub repository based on your specified platform and architecture.
bashcurljqwget
- Clone this repository:
git clone https://github.com/mounta11n/llama.cpp-binaries.git
cd llama.cpp-binaries- Edit the
dl-latest-llamacpp.shscript and set theFILE_PATTERNvariable to match your platform and architecture:
FILE_PATTERN="macos-arm64.tar.gz" # Change this to your platformAvailable patterns typically include:
macos-arm64.tar.gz- macOS (Apple Silicon)macos-x64.tar.gz- macOS (Intel)linux-x64.tar.gz- Linux (x64)windows-x64.zip- Windows (x64)
- Make the script executable and run it:
chmod +x dl-latest-llamacpp.sh
./dl-latest-llamacpp.sh- The script will download the latest binaries to your current directory.
MIT License - see LICENSE file for details.