{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Detects which package manager installed a given Python package and returns the correct upgrade command for that installer.","skillfed_tags":["package-management","installer-detection"],"use_cases":["Build tools or package managers that need to upgrade dependencies using the same installer that installed them.","Development utilities that auto-upgrade packages and must preserve the user's original installation method.","CLI applications that guide users on how to upgrade themselves based on their installation method.","Testing frameworks that verify package upgrades work correctly across different installer ecosystems.","Documentation generators or setup helpers that detect and report on the current installation method."],"what_it_does":"detect-installer identifies which package manager was used to install a Python package on the current system and generates the correct upgrade command for that manager. It supports pip, uv (both project and pip modes), uv tool, pipx, Homebrew, Conda, and Mamba. The package has no runtime dependencies and is published under a permissive license, making it suitable for vendoring directly into projects if you want to avoid adding a dependency.\n\nThe typical use case is in tools or scripts that need to upgrade packages but must use the same installer that originally installed them. For example, a package manager wrapper or development utility might call detect_installer to determine whether to run `pip install -U`, `uv pip install -U`, `pipx upgrade`, or a conda/mamba equivalent.","worth_installing":"Yes. The package solves a real problem with zero dependencies, active maintenance, no known vulnerabilities, and a permissive license. It's lightweight and either installable normally or vendorable directly into your project. Install it if you need to detect or recommend upgrade commands based on how a package was installed."},"id":"detect-installer","links":{"html":"https://skillfed.io/packages/detect-installer","md":"https://skillfed.io/packages/detect-installer.md","pypi":"https://pypi.org/project/detect-installer/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-23","license_spdx":"0BSD","license_treatment":"permissive","name":"detect-installer","python_support":"supports_current","summary":"Detect how a Python package was installed and get the correct upgrade command"},"popularity":{"monthly_downloads":13405742,"position":1282,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
