Installing
Quick install commands are in the README. This page covers what each installer does, supported distributions, Flatpak packaging, OpenVINO/transformers version constraints, digest verification, and uninstallation.
Release installer
Section titled “Release installer”curl -fsSL https://github.com/karanshukla/vinoWhisper/releases/latest/download/install.sh | bashThe script verifies the latest release wheel against SHA256SUMS, installs it with uv (downloading a hash-pinned uv release if missing), and runs vinowhisper-setup. The setup wizard handles machine-specific steps (audio capture tools, Intel NPU/GPU drivers, and the model export matching your device), printing each command and asking for confirmation before running it.
To add the optional desktop overlay and dictation, run vinowhisper-setup --gui (see The desktop overlay (optional)).
Upgrading
Section titled “Upgrading”Use Check for updates under Settings → About, or run vinowhisper-upgrade. Both install the new release wheel, update the overlay and settings window if installed, and restart the server while keeping your exported models.
Installing from a git checkout
Section titled “Installing from a git checkout”curl -fsSL https://raw.githubusercontent.com/karanshukla/vinoWhisper/main/scripts/install.sh | bashThis bootstrap script:
- Installs a hash-pinned
uvtarball ifuvis not present. - Clones the latest
vX.Y.Zrelease tag discovered viagit ls-remote(pass--ref mainfor unreleased code or--ref v0.6.1for a specific tag; re-running moves an existing checkout back to the requested detached ref). - Installs locked dependencies via
uv sync --lockedagainstuv.lock. - Hands off to
vinowhisper-setup(--yesaccepts all prompts,--dry-runprints the plan without changes, and pipedstdinwithout--yesexits rather than executingsudocommands unattended). Completed steps are skipped. - Symlinks CLI commands into
~/.local/bin(so they trackgit pull) and installs per-commandbash-completionsymlinks.
The entire script runs inside a single main function invoked on the final line so truncated downloads exit safely without partial execution.
To clone and run setup manually:
git clone https://github.com/karanshukla/vinoWhisper && cd vinoWhisperuv sync --extra export # includes one-time model export dependenciesuv run vinowhisper-setup --dry-run # preview plan without changing anythinguv run vinowhisper-setup # interactive setupInstalling from PyPI
Section titled “Installing from PyPI”pip install vinowhisper(Supported since OpenVINO 2026.3.1 landed on PyPI on 2026-08-31; earlier releases required OpenVINO nightly wheels.)
pip installs the CLI commands and Python runtime dependencies, but does not configure NPU drivers or export the model; run vinowhisper-setup afterward. Also re-run vinowhisper-setup if upgrading from 0.6.x or earlier (server moved from 127.0.0.1:8099 to a Unix socket in $XDG_RUNTIME_DIR) or from 1.7 or earlier (removes legacy systemd user units; vinowhisper-upgrade handles this automatically).
Model export dependencies (optimum, transformers, and CPU torch) are in the export extra. vinowhisper-setup offers to install it during the model step, or you can install it up front using PyTorch’s CPU wheel index (avoiding multi-GB CUDA wheels):
pip install --extra-index-url https://download.pytorch.org/whl/cpu 'vinowhisper[export]'Python 3.11–3.13 required: Python 3.14 turned functools.partial into a descriptor, which breaks optimum’s NORMALIZED_CONFIG_CLASS = SomeConfig.with_args(...) pattern across all tested optimum/transformers versions (confirmed 2026-08-03). requires-python blocks installation on 3.14.
Supported distros
Section titled “Supported distros”vinowhisper-setup and vinowhisper-doctor read /etc/os-release (ID first, then ID_LIKE) and format install commands for eight distribution families:
| Family | Derivatives | NPU driver | Test status |
|---|---|---|---|
| Fedora | RHEL, CentOS, Alma, Rocky, Nobara; Fedora Atomic (Silverblue, Kinoite, Bazzite, Aurora, Bluefin) | intel-npu-driver in repos |
Tested on hardware (Atomic untested) |
| Debian | Ubuntu, Pop!_OS, Mint, elementary, Raspbian | Intel upstream .deb packages |
From package index |
| Arch | CachyOS, EndeavourOS, Manjaro, Garuda | AUR (intel-npu-driver) |
From package index |
| openSUSE | Tumbleweed, Leap, SLES, Aeon, MicroOS | libze_intel_npu1 + level-zero (Tumbleweed, Leap 16); else upstream |
From package index |
| Gentoo | — | Community overlays or upstream | From package index |
| Void | — | Upstream release | From package index |
| Alpine | — | Unsupported (musl; upstream driver requires glibc) | From package index |
| NixOS | — | hardware.cpu.intel.npu.enable (25.11+) |
Config snippets (no nix-env) |
openSUSE’s libze_intel_npu1 (Tumbleweed 1.38.0, Leap 16.0 1.35.0; checked 2026-11-05) builds with ENABLE_NPU_COMPILER_BUILD=OFF and does not pull in the Level Zero loader, so level-zero is listed alongside it.
Other distributions receive generic instructions. On every distribution, the NPU compiler library (libopenvino_intel_npu_compiler.so) must come from Intel’s release archive (either via ovfetch npu install or manual extraction), which vinowhisper-doctor checks and reports. See audio.md for audio capture packages.
Image-based distros (Fedora Atomic, openSUSE Aeon)
Section titled “Image-based distros (Fedora Atomic, openSUSE Aeon)”Immutable distributions (Silverblue, Kinoite, Bazzite, Aurora, Bluefin, Aeon) keep /usr read-only. Everything except host drivers (uv, virtualenv with uv-managed Python if host Python is 3.14, models, ~/.local/bin, and desktop entries) installs into your home directory normally. Run vinoWhisper on the host rather than inside a toolbox so it shares the host Wayland, audio, and D-Bus session.
vinowhisper-setup and vinowhisper-doctor detect immutable systems (/run/ostree-booted or read-only /usr) and adjust system package commands:
| System | Package command | Follow-up |
|---|---|---|
| Fedora Atomic | sudo rpm-ostree install --idempotent <packages> |
Reboot and re-run setup |
| openSUSE Aeon / MicroOS | sudo transactional-update --non-interactive pkg install <packages> |
Reboot and re-run setup |
| Other immutable distros (SteamOS, Vanilla OS 2, Endless OS) | Prints required package names only | Install per distro method |
pipewire-utils (pw-record) ships in Fedora Atomic desktop images by default, so usually only intel-npu-driver or intel-compute-runtime needs layering.
Two additional differences on immutable systems:
-
NPU compiler:
ovfetch npu installplaces it in~/.local/lib/ovfetch-npuwithout layering (see hardware.md). Manual installation targets/usr/local/lib64(/var/usrlocal) with an/etc/ld.so.conf.dentry (extract the.debinside a toolbox ifdpkg-debis absent on the host). -
rendergroup membership: System groups are defined in/usr/lib/groupwhileusermodedits/etc/group, so copy therenderentry first:Terminal window grep -E '^render:' /usr/lib/group | sudo tee -a /etc/groupsudo usermod -aG render $USER
Image-based support is based on distro documentation and covered by unit tests; it has not yet been run on an image-based host.
Flatpak
Section titled “Flatpak”Each release publishes vinowhisper-x86_64.flatpak, bundling all CLIs, the server, tray/overlay, settings and sessions windows, standalone Python 3.13, OpenVINO, and Intel’s userspace NPU and GPU drivers. Only the kernel intel_vpu driver and firmware are needed on the host.
Installing and setting up
Section titled “Installing and setting up”curl -fLO https://github.com/karanshukla/vinoWhisper/releases/latest/download/vinowhisper-x86_64.flatpakcurl -fLO https://github.com/karanshukla/vinoWhisper/releases/latest/download/vinowhisper-x86_64.flatpak.sha256sha256sum -c vinowhisper-x86_64.flatpak.sha256flatpak install --user vinowhisper-x86_64.flatpak(org.freedesktop.Platform 26.08 is pulled from Flathub if not already installed.)
Next, export Whisper once:
flatpak run --command=vinowhisper-setup io.github.karanshukla.vinowhisperBecause optimum and torch are excluded from the bundle to keep its size down, the wizard offers to create an export venv at ~/.var/app/io.github.karanshukla.vinowhisper/data/vinowhisper/export-env (1.3 GB; safe to delete once models are exported). Alternatively, open vinoWhisper from your app menu and download Canary 1B v2 under Settings → Speech, which requires no export (models.md).
Open vinoWhisper from the app menu to start the tray, overlay, and dictation. The first dictation prompts for RemoteDesktop portal typing access, and the desktop notifies you whenever a new typing session starts (closing after 5 idle minutes by default; see tray.md). Start at login uses the Background portal.
All CLI commands work via --command:
flatpak run --command=vinowhisper-caption io.github.karanshukla.vinowhisperalias vw='flatpak run io.github.karanshukla.vinowhisper' # vw toggle, vw dictateUpdating, uninstalling, and building locally
Section titled “Updating, uninstalling, and building locally”Use Update under Settings → About (release stable bundles only; verifies .sha256, installs via host flatpak, checks the installed version, stops the server, and restarts the tray; system-wide --system installs prompt for admin auth). Manual update:
# download, verify sha256, and flatpak install --user vinowhisper-x86_64.flatpak, then:flatpak run --command=vinowhisper-server io.github.karanshukla.vinowhisper --stopflatpak run io.github.karanshukla.vinowhisper restartLocal checkout builds use branch master and link to GitHub Releases instead of self-updating (uninstall io.github.karanshukla.vinowhisper//master before switching to a stable release; ~/.var/app data stays). To build locally:
flatpak install --user flathub org.flatpak.Builder org.freedesktop.Sdk//26.08 \ org.freedesktop.Sdk.Extension.rust-stable//26.08flatpak run --filesystem=$HOME org.flatpak.Builder --user --install --force-clean \ --repo=repo build packaging/flatpak/io.github.karanshukla.vinowhisper.ymlflatpak build-bundle repo vinowhisper.flatpak io.github.karanshukla.vinowhisperUninstall with flatpak uninstall io.github.karanshukla.vinowhisper (add --delete-data to remove models, sessions, and settings; run vinowhisper-tray --uninstall first if you want the sessions app-menu entry and login entry cleaned up too).
Sandbox permissions and differences from native
Section titled “Sandbox permissions and differences from native”| Permission | Reason |
|---|---|
--device=all |
Intel NPU (/dev/accel, no narrower Flatpak option) and GPU |
--filesystem=home |
Input files for vinowhisper-transcribe, --record/--transcript paths, sessions menu entry, and reading portal autostart entry |
--share=network |
Model downloads and update checks |
--socket=wayland |
Overlay, settings, and sessions windows |
--filesystem=xdg-run/pipewire-0 |
pw-record and pw-dump (system audio, mic, playing apps) |
--socket=pulseaudio |
pactl and parec |
--talk-name=org.kde.StatusNotifierWatcher |
Tray icon |
--talk-name=org.freedesktop.Notifications, --talk-name=org.a11y.Bus |
Summary notifications and screen reader announcements |
--talk-name=org.mpris.MediaPlayer2.* |
Pausing media players during dictation |
--talk-name=org.freedesktop.FileManager1 |
Show in folder |
--talk-name=org.freedesktop.Flatpak |
Host flatpak updates and host busctl for playing media (flatpak-spawn --host) |
Global shortcuts, autostart, file dialogs, and dictation typing/clipboard use XDG portals and require no static permissions.
Key differences from a native install:
-
Separate data directory: Config, models, and sessions are stored under
~/.var/app/io.github.karanshukla.vinowhisper(config/vinowhisper,data/vinowhisper/models,data/vinowhisper/transcripts). Migrate from a native install (with neither running) by copying those directories; exports are identical andvinoSearch(after v11) discovers sessions in both locations:Terminal window app=~/.var/app/io.github.karanshukla.vinowhispermkdir -p $app/config $app/datacp -a ~/.config/vinowhisper $app/config/cp -a ~/.local/share/vinowhisper $app/data/ -
Do not install alongside a native install: Both use app ID
io.github.karanshukla.vinowhisperso portal shortcuts carry over; a native.desktopfile in~/.local/share/applicationsshadows the Flatpak’s launcher. Remove the native install first (vinowhisper-upgrade --uninstall). -
Per-command sandboxes: Tray and server sockets are placed in the shared
$XDG_RUNTIME_DIR/app/io.github.karanshukla.vinowhisper. The server spawns in its own sandbox viaflatpak-spawnso closing the caller does not kill it. Server logs go to~/.var/app/io.github.karanshukla.vinowhisper/.local/state/vinowhisper/server.log. -
Desktop exports & host detection: Launcher, icons, and
.vwsessionMIME registration are exported by Flatpak (vinowhisper-tray --installis a no-op).playing.pyuses hostbusctlviaflatpak-spawn --host.vinowhisper-setupreads/run/host/os-releasefor host kernel/group instructions. On Sway/Hyprland, bindflatpak run io.github.karanshukla.vinowhisper toggleanddictate-press/dictate-release(tray.md).
Flatpak overhead and test status
Section titled “Flatpak overhead and test status”Measured 2026-11-14 on a 4-core cloud Xeon (CPU device, bundle binaries inside vs. outside sandbox; not an NPU measurement):
| Metric | Inside Flatpak | Same binaries without sandbox |
|---|---|---|
| 12s window decode (median of 8) | 0.86s | 0.86s |
| Cold server startup to socket accept | 0.34s | 0.25–0.30s |
flatpak run wrapper overhead |
0.07s | — |
The tray starts caption and dictation children inside its own sandbox, avoiding per-call flatpak run overhead. Bundled Python (including stdlib) is precompiled to .pyc at build time because /app is read-only.
Verified in a container (2026-11-14, Flatpak 1.14.6, CPU only, no audio server): full build and packaging/flatpak/smoke.sh, vinowhisper-setup --yes --device CPU (export venv, pinned source, stateful export), vinowhisper-transcribe on 13s synthetic speech (9x real time) + cross-sandbox vinowhisper-server --stop, vinowhisper-flatpak-update rejecting a bad .sha256 and applying a valid update, and headless Sway 1.9 (toggle, hide, shortcuts, restart, quit, overlay, settings window).
Not yet tested on a full desktop: NPU/GPU inside the sandbox, audio capture, tray icon, shortcut/Background portals, and full Plasma desktop runs. Note two desktop specifics:
- Flatpak 1.15.6+ assigns apps a restricted Wayland security context (
wp_security_context_v1), under which some compositors withholdwlr-layer-shell(Sway) or data-control. KWin 6.8 withholds data-control and fake-input but allowswlr-layer-shell(measured 2026-11-14), and portal typing/copying was verified on Plasma 6.8.2 the same day. restartuses Flatpak’s portal and requiresWAYLAND_DISPLAYin the D-Bus activation environment (automatic on Plasma/GNOME; on Sway addexec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP).
OpenVINO version floor
Section titled “OpenVINO version floor”openvino>=2026.4.1 is required:
2026.3.1was the first stable release able to build the NPU static Whisper pipeline (prior to 2026-08-31, vinoWhisper pinned OpenVINO nightly wheels because 2026.2.1’spipeline_static.cppfailed withOPENVINO_ASSERT(!self_attn_nodes.empty())onoptimum-intel’s SDPA attention mask).- The floor moved from
2026.3.1to2026.4.1after v1.6.1 to matchvinoSpeakandvinoPop(processes sharing an NPU should run the same OpenVINO version, as an NPU fault resets the device for all clients) and to include 2026.4.1’s compiled blob cache hardening.
Measured 2026-08-31 on Wildcat Lake NPU (--disable-stateful export, WhisperPipeline(..., STATIC_PIPELINE=True)):
| OpenVINO version | Source | Pipeline build | generate() |
|---|---|---|---|
| 2026.3.1 | PyPI stable | 2.0s | ok |
| 2026.4.0.dev20260805 | nightly | 2.3s | ok |
| 2026.5.0.dev20260831 | nightly | 1.9s | ok |
STATIC_PIPELINE=True is mandatory on the NPU; omitting it triggers the stateful path and fails with Stateful models without 'beam_idx' input are not supported in StatefulToStateless transformation. .github/workflows/deps-canary.yml still verifies a fresh dependency resolve weekly.
Model export and verification
Section titled “Model export and verification”Model export uses two verification layers:
- Pinned source download (
vinowhisper/model_sources.json): Pins the Hugging Face commit and per-file SHA-256 hashes.python -m vinowhisper.sourcedownloads files intomodels/source/under the data directory and aborts on any mismatch beforeoptimum-cliruns withHF_HUB_OFFLINE=1(a local snapshot is used becauseoptimum-cli2.2.0 lacks a--revisionflag). Unpinned--modelrepositories export with a warning. - Exported IR digests (
vinowhisper/model_digests.json):convert_model.sh,vinowhisper-setup, andvinowhisper-doctorhash all 16 files in the exported IR (~1.2s for 1.5 GB, includinggeneration_config.jsonandtokenizer.json; skipped on server startup to avoid adding 1.2s to cold start).
| Verification status | Meaning | Blocks setup |
|---|---|---|
verified |
All pinned files match | No |
unpinned |
No pin exists for this model/variant (e.g., whisper-base.en or stateful export) |
No |
drift |
Both file bytes and export toolchain in rt_info differ from the pin |
No |
mismatch |
Exported by the pinned toolchain, but bytes differ | Yes |
incomplete |
One or more pinned files are missing | Yes |
known_bad |
Exported by a toolchain known to produce a broken export (exact match or at_least floor) |
Yes |
Exports are bit-reproducible on a fixed toolchain (measured 2026-09-04: two runs produced 16/16 identical files), but vary across toolchains (comparing OpenVINO 2026.2.1 / optimum-intel 2.0.0 / transformers 5.0.0 against 2026.3.1 / 2.1.0 / 5.5.4 changed 9 of 16 files, while openvino_encoder_model.bin stayed identical). Toolchain versions are merged from rt_info across every .xml file (any disagreement across XML files marks versions unknown). Because rt_info resides inside the exported files, drift guards against accidental corruption rather than a local attacker; the source pin protects the upstream download. Update pins after a verified export with ./scripts/update_digests.py --variant npu (which preserves known_bad). A missing or corrupt pin file degrades to unpinned.
transformers 5.4.0 breaks the NPU export
Section titled “transformers 5.4.0 breaks the NPU export”Bisected on hardware 2026-09-04: NPU exports require transformers<5.4. Exports created with 5.4.0+ compile on the NPU without error but fail at generate():
RuntimeError: Port for tensor name cache_position was not found. (src/inference/src/cpp/infer_request.cpp:191)Bisect with optimum-intel 2.1.0, optimum 2.3.0, openvino 2026.3.1, openvino-genai 2026.3.1.0, and torch 2.13.0 held fixed (whisper-small.en, --disable-stateful, clean venv per version):
transformers |
Pipeline build | generate() |
|---|---|---|
| 5.0.0 | ok | 0.96s |
| 5.2.0 | ok | 0.86s |
| 5.3.0 | ok | 0.71s |
| 5.4.0 | ok | fails |
| 5.5.4 | ok | fails |
Control runs confirmed optimum-intel 2.1.0 + transformers 5.0.0 works, and the 2026-08-03 package set works under OpenVINO 2026.3.1. In 5.3.0 exports, cache_position appears once as an internal tensor name on __module.model.model.decoder/aten::arange/Range; 5.4.0 stopped emitting that name, breaking the NPU static pipeline’s internal lookup (input/output signatures are otherwise identical). The stateful (CPU/GPU) export is unaffected (verified under 5.5.4 on 2026-09-12).
Since 2026-09-12, export dependencies are in vinowhisper[export] (holding transformers<5.4 and installed with CPU torch via --torch-backend cpu under uv or PyTorch’s CPU index under pip). model_digests.json also marks transformers>=5.4.0 as known_bad.
As of 2026-09-20, raising the cap is not possible because all optimum-intel releases (including 2.2.0) require transformers<5.6,>=4.51; forcing a higher transformers backtracks optimum to a broken pre-5.x release. Consequently, GHSA-fgcw-684q-jj6r (fixed in 5.5.0) and GHSA-xrqw-3rrv-vx5w (fixed in 5.10.0) remain open in the export extra; transformers is never imported at runtime and only reads pinned files for the default model (see SECURITY.md).
The desktop overlay (optional)
Section titled “The desktop overlay (optional)”vinowhisper-setup --gui installs vinowhisper-tray (floating captions, dictation, tray icon, global shortcuts) and vinowhisper-gui (settings and sessions window). It downloads the release binaries from GitHub and verifies their SHA-256 digests pinned in the Python package, so no Rust toolchain is required. From a source checkout, ./scripts/install.sh --gui builds them with Cargo instead. See tray.md.
NPU platform data (optional)
Section titled “NPU platform data (optional)”vinowhisper-setup --ovfetch installs the hash-verified static release binary of ovfetch (offered only when an Intel NPU is present, skipped if already current). It adds platform driver verification lines to vinowhisper-doctor, and provides ovfetch npu install (0.6.0+) when a distro driver package lacks the NPU compiler (such as Fedora’s intel-npu-driver 1.32.0). See hardware.md.
Uninstalling
Section titled “Uninstalling”vinowhisper-upgrade --uninstallFrom a checkout install (which has no vinowhisper-upgrade wrapper), run the release script directly (downloads nothing else):
curl -fsSL https://github.com/karanshukla/vinoWhisper/releases/latest/download/install.sh | bash -s -- --uninstallUninstall removes, in order:
- Server: Runs
vinowhisper-server --stopand disables/removes pre-1.7 systemd user units in~/.config/systemd/userif present (daemon-reload). - Tray and desktop entries: Runs
vinowhisper-tray quitand removes launchers, settings/sessions desktop entries, icons,.vwsessionMIME registration, and autostart entries. - Commands and completions: Runs
uv tool uninstall vinowhisperand removes~/.local/binsymlinks, bash completion symlinks,vinowhisper-tray,vinowhisper-gui, andvinowhisper-upgrade. - Models and caches: Removes
$XDG_DATA_HOME/vinowhisper/models(Whisper exports/source, Canary, SmolLM3, Silero VAD) and$XDG_CACHE_HOME/vinowhisper(compiled SmolLM3 blobs, export scratch). - Managed clone: Removes
scripts/install.sh’s clone at~/.local/share/vinowhisper/srconly if clean (kept if uncommitted changes, unpushed branch commits, or stashes exist; user-cloned checkouts are untouched).
Preserved user data and shared tools: Saved sessions/transcripts (~/.local/share/vinowhisper/transcripts), config (~/.config/vinowhisper), summariser state (~/.local/state/vinowhisper), exported documents, uv, ovfetch, ~/.local/lib/ovfetch-npu, and ~/.cache/ze_intel_npu_cache.
To delete individual models without uninstalling, use Settings → Speech (Whisper, Canary) or Settings → Cleanup (SmolLM3), or run vinowhisper-whisper model delete, vinowhisper-canary model delete, or vinowhisper-cleanup model delete.
Pinning the terminal on top
Section titled “Pinning the terminal on top”Unlike the Wayland overlay, vinowhisper-caption runs in a regular terminal, so keeping it above other windows is configured in your window manager. On KDE KWin: open System Settings → Window Management → Window Rules, match your terminal window, and force Keep Above Other Windows (optionally enabling Skip Taskbar, Skip Pager, and removing the titlebar).