pip install --user package

Category: Python & pip

pip install --user package

Install package into user site-packages (no sudo needed)

Installs into your user's home directory instead of the system Python — no sudo needed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.