Result
Install the version requested by this module and locate its installation directory. This task does not start PDM, create project files, or configure external services.
Prerequisites
Install mise and obtain network access to the upstream package source. Use an operating system supported by the selected mise backend and upstream release. Run these commands from the repository root. Installation downloads and executes third-party installation code; review the source first.
Steps
-
Read mise.toml and confirm the
pdmentry still requestslatest. -
Install that explicit request. This does not rewrite the version declaration:
mise install "pdm@latest" -
Locate the installed tool without assuming its executable has the package name:
mise where "pdm@latest"
Verification
The installation command should finish successfully. mise where should return an existing installation directory, not a missing-version error. This confirms installation only, not application behavior, editor activation, credentials, or service connectivity.
The module installs PDM without creating a Python environment or resolving project dependencies.
Recovery
If installation fails, retain the error and check network access, backend prerequisites, and upstream platform support. Keep version pins unchanged while diagnosing the failure. Re-run the same explicit installation request after fixing the cause. These steps do not change project data or start services, so no application rollback is required.