


dry-run, preferably in a more readable format) before doing it and asking for confirmation. Honestly, if it were up to me, now that pip has a solver and dry run support, I’d much rather it act like most package managers (either by default or at least with an option) and display what it is going to do (i.e. I almost always work in venvs, so if I forget to activate one, I’d rather pip fail or prompt than silently install into -user if I don’t deliberately sudo it at least one time this happened, it resulted in a very laborious cleanup and reinstall effort. Personally, when I’m on Linux, I’d especially prefer pip giving an error or prompting for confirmation to fall back to a user install, though for slightly different reasons as on Windows.
