Skip to main content

detect_package_manager

Function detect_package_manager 

Source
pub fn detect_package_manager(info: &DistroInfo) -> PackageManager
Expand description

Detect the package manager from the distro family or environment override.

Checks MLSTACK_PKG_MANAGER env var first, then falls back to family-based detection.