All docs
Runtime·
property
Runtime.source
how the install was found — env, registry, well-known, or path
Python
source: str
Returns str — one of "env", "registry", "well-known", or "path"
Example#
Python
rt = find_runtime()
print(rt.source) # → "registry"
Notes#
One of "env", "registry", "well-known", or "path", naming which step of the search located the
install. The steps run in that priority order: the LSD_RUNTIME / LSD_HOME env vars, a Windows
registry uninstall entry named "LSD Desktop", a well-known install dir, then an executable on PATH.
See also#
API: find_runtime · install_dir
Guides: Install LSD
By LSD Team · Last updated Jul 17, 2026
Ask on Discord
View as Markdown