| Name | Type | Description |
|---|---|---|
extra* | str | Extra name to add. |
Return a manual recovery command for the current install method.
uv-managed installs can preserve the uv receipt's Python interpreter and
--with requirements, so their recovery command uses the same uv path as
the automatic installer. Unsupported methods keep the install-script command
and deliberately avoid reading uv receipts.
Propagates ValueError if extra fails PEP 508 validation, and (on the uv
path) ExtrasIntrospectionError if installed extras cannot be determined
safely or ToolRequirementIntrospectionError if the uv receipt's
interpreter or --with packages cannot be preserved safely.