Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/creating_llamafiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,28 @@ run it as a web server with:
./Qwen3-0.6B-Q8.llamafile --server
```

### Windows (`cmd.exe`)

The same packaging steps work in Windows Command Prompt. Download the
`llamafile-<version>` and `zipalign-<version>` assets from the
[releases page](https://github.com/mozilla-ai/llamafile/releases), rename them
to `llamafile.exe` and `zipalign.exe`, and place them in the same directory as
your GGUF model and `.args` file. Use the `.args` format described above, with
the model path prefixed by `/zip/` when the GGUF will be embedded.

Then run:

```bat
copy /b llamafile.exe my-model.llamafile.exe
zipalign.exe -j0 my-model.llamafile.exe model.gguf .args
my-model.llamafile.exe --server
```

Use `copy /b` rather than text-mode copying so the executable bytes are
preserved. A bundled executable larger than 4 GB cannot run on Windows; for
larger models, keep the GGUF external as described in the
[Quickstart](quickstart.md#running-llamafile-with-models-downloaded-by-third-party-applications).

### Server, multimodal

Now, let us build another llamafile running a multimodal model served
Expand Down