New Tool Radar

Local AI

How to Update whisper.cpp with git pull and Rebuild

Update whisper.cpp from source, rebuild it, and check transcription still works.

Schematic illustration with three step boxes for How to Update whisper.cpp with git pull and Rebuild.

whisper.cpp ships numbered releases: v1.9.6 arrived on 23 November 2026, fixing flash attention accuracy and Docker images. If you build from source, updating means pulling the latest code and rebuilding with the same options. This guide does that and checks the new build with the bundled sample audio.

Before you start

  • whisper.cpp checked out from git and already built once.
  • Git, CMake and a compiler installed.
  • A model file already downloaded, such as ggml-base.en.bin.

Note your current version

Before pulling, record what you are on:

cd ~/whisper.cpp
git rev-parse HEAD

Write the hash down. Your downloaded model files live in the models folder and are not touched by a pull.

Pull and rebuild with the same options

Pull the latest code and rebuild:

git pull
cmake --build build -j --config Release

If you built with extra options, such as -DWHISPER_COREML=1 on a Mac or -DGGML_CUDA=1 for NVIDIA, re-run the configure step with the same options first, then build.

Transcribe the sample file

Test the new build with the bundled sample:

./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/jfk.wav

The output should be the familiar JFK text. Then transcribe one of your own files to confirm the new build works on real audio.

Worked example

Sample check: before updating, note the commit hash. After rebuilding, the JFK sample should transcribe to text beginning “And so my fellow Americans ask not what your country can do for you”. If the output is empty or garbled, roll back to the noted commit and rebuild.

Expected result

UNTESTED in this guide: no update was run while writing it. The expected result is that the rebuilt whisper-cli transcribes the JFK sample correctly, and one of your own files transcribes normally.

Limitations

A pull can change default options: v1.9.6 made flash attention on by default, which is now as accurate as running without it. Read the release notes before updating if you rely on a specific option. Do not delete your model files: a rebuild does not need them re-downloaded.

Sources

See all