Installing litert-lm CLI

You can install the CLI with uv (recommended) or standard pip.

Installation

uvx

# Run without installing permanently.
uvx litert-lm

uv

# Install to a persistent environment.
uv tool install litert-lm

pip

# Install to a Python (virtual) environment.
pip install --upgrade litert-lm

Upgrading

uvx

uvx --refresh litert-lm

uv

uv tool upgrade litert-lm

pip

pip install --upgrade litert-lm

Uninstalling

uvx

# No action required. `uvx` runs from a temporary cache.

uv

uv tool uninstall litert-lm

pip

pip uninstall litert-lm

Deleting Models and Caches

Linux/MacOS

rm -r ~/.litert-lm

Windows

rm -Recurse ~\.litert-lm