GitHub · #310

mozilla-ai/llamafile

Distribute and run LLMs with a single file. On Linux: git clone, then cmake -S . -B build && cmake --build build. 26,418 GitHub stars (#310 in this directory).

Repository
https://github.com/mozilla-ai/llamafile
Homepage
https://docs.mozilla.ai/llamafile
Owner
mozilla-ai (Organization)
Stars
26,418
Forks
1,771
Open issues
215
Language
C++
License
Other
Created
2023-09-10
Last push
2026-10-12
Topics
cross-platform, gguf, llama-cpp, local-ai, local-inference, local-llm, open-source-ai, single-file-executable, speech-to-text
Snapshot
2026-10-18 · weekly refresh

Try it on Shadowfetch Linux.

Shadowfetch Linux is a Debian testing desktop with KDE Plasma, local AI tools, and ShadowCode. Clone this repository there, follow the steps for its primary language, and ask ShadowCode to finish the build.

Clone and configure a C/C++ build.

git clone https://github.com/mozilla-ai/llamafile.git
cd llamafile
cmake -S . -B build
cmake --build build

If there is no CMakeLists.txt, use the README’s Makefile or meson steps. git clone --recursive when the project uses submodules.

ShadowCode prompt.

Paste this into ShadowCode after you open the project.

Clone https://github.com/mozilla-ai/llamafile into ~/Workspaces/llamafile.
Read the README.
On this Shadowfetch Linux desktop, configure with CMake or the README’s build system, then compile and run a sample.
Ask before installing packages or using the network.

Download Shadowfetch Linux — ISO, checksum and signature.

Back to the GitHub directory · Methodology