Installation and Uninstallation
Installation
The application can either be built from source manually (as detailed in the README) or by using the dedicated setup.ps1 installation script (which is bundled with each release). Below we detail the workflow of the script.
Privilege model
In accordance with the principle of least privilege, the script runs as the current user. No administrator privileges are
requested or required. The application is installed at %LOCALAPPDATA%\Programs\Vocalance\.
Installation flow
Bootstrap uv — downloads the
uv-{arch}-pc-windows-msvc.zipbinary archive from GitHub releases for the pinned$UV_VERSION, verifies its SHA-256 against the hard-coded$UV_ZIP_SHA256value before extracting. A mismatch deletes the archive and aborts.uv.exeis placed in%LOCALAPPDATA%\Programs\Vocalance\tools\uv.exe; no system-wide UV installation occurs andPATHis not modified. See UV Bootstrap for the full verification procedure.Download Vocalance release — fetches
vocalance-v{VERSION}.zipfrom the immutable GitHub releases page for the pinned version and unpacks it to%LOCALAPPDATA%\Programs\Vocalance\app\.Create virtual environment —
uv venv --python 3.13.9.Install dependencies — prompts the user on whether to include LLM features, then runs
uv sync --frozenif features are excluded anduv sync --frozen --extra llmotherwise.--frozenenforcesuv.lockwith per-package hash verification (see Python Libraries).Create Start Menu shortcut — creates a shortcut to the application’s entry point
pythonw.exe vocalance.py.
File layout
Path |
Contents |
|---|---|
|
Source code, |
|
Python virtual environment. |
|
Bundled uv binary; scoped to this installation. |
|
All runtime-written data: configuration, marks, aliases, commands, activity logs, LLM model files, developer log files. Created by the application on first launch. |
Uninstallation
An uninstallation script cleanup.ps1 is also provided with each release. It runs as the current user (no elevation) and removes the contents of:
%LOCALAPPDATA%\Programs\Vocalance\— source, virtual environment, bundled uv binary.%APPDATA%\Vocalance\— all user-configured state.The Start Menu shortcut.
After cleanup, no Vocalance files remain on the machine. Third-party package caches (uv, PyPI) and system prerequisites installed independently by the user (e.g. Microsoft C++ Build Tools) are not touched.