This guide covers how to use the uv package manager and its uvx tool to install and manage Voice Mode.
uv is an extremely fast Python package and project manager, written in Rust. It's designed to be a drop-in replacement for pip, pip-tools, pipx, poetry, pyenv, virtualenv, and more.
uvx is uv's tool for running Python applications in isolated environments (similar to pipx).
The simplest way to run Voice Mode is:
# Run directly (auto-installs if needed)
uvx voicemode
# Or explicitly install first
uvx install voice-mode# Install a specific version
uvx install voice-mode==2.2.0
# Upgrade to the latest version
uvx upgrade voice-mode
# Downgrade to an older version
uvx install --force voice-mode==2.1.0To see all available versions of Voice Mode on PyPI:
# Using curl and jq
curl -s https://pypi.org/pypi/voice-mode/json | jq -r '.releases | keys[]' | sort -V
# Show only the last 10 versions
curl -s https://pypi.org/pypi/voice-mode/json | jq -r '.releases | keys[]' | sort -V | tail -10Recent versions include:
- 2.3.0 (latest)
- 2.2.0
- 2.1.3
- 2.1.1
- 2.1.0
- 2.0.3
# List all uv tools
uv tool list
# Check if voice-mode is installed
uv tool list | grep voice-mode
# Run voicemode with version flag
uvx voicemode --versionuv tool uninstall voice-mode# Use a specific Python version
uvx --python 3.11 voicemodeuv tools are installed in isolated virtual environments. To find the installation:
# On Linux/macOS
~/.local/share/uv/tools/voice-mode/
# On Windows
%LOCALAPPDATA%\uv\tools\voice-mode\If you're developing Voice Mode locally:
# In the voice-mode repository directory
uv pip install -e .
# Or using uvx from a local path
uvx install --from . voice-mode# Create a virtual environment
uv venv
# Activate it
source .venv/bin/activate # On Linux/macOS
# or
.venv\Scripts\activate # On Windows
# Install voice-mode in development mode
uv pip install -e .# Install test dependencies
uv pip install -e ".[test]"
# Run tests
pytestIf uvx voicemode doesn't work:
# Try the full package name
uvx voice-mode
# Or install explicitly first
uvx install voice-mode
uvx voicemodeIf you have version conflicts:
# Force reinstall
uvx install --force voice-mode
# Or uninstall first
uv tool uninstall voice-mode
uvx install voice-modeVoice Mode requires Python 3.10+. If you encounter Python version issues:
# Check your Python version
python --version
# Use uv with a specific Python
uvx --python 3.12 voicemodeWhen using Voice Mode with Claude Desktop, you typically don't need to worry about uv/uvx as the MCP server is launched automatically. However, you can specify the exact command in your Claude Desktop configuration:
{
"mcpServers": {
"voice-mode": {
"command": "uvx",
"args": ["voicemode"],
"env": {
"OPENAI_API_KEY": "your-api-key"
}
}
}
}This ensures Claude Desktop always uses the uvx-installed version of Voice Mode.