Prevent global `pip install`

Fullchee ZhangFullchee Zhang
1 min read

PIP_REQUIRE_VIRTUALENV=truein your .zshrc (or env variables)

prevents you from pip installing globally

so that you only run pip install in a venv

Only use pipx for global installs

0
Subscribe to my newsletter

Read articles from Fullchee Zhang directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Fullchee Zhang
Fullchee Zhang

React, Django and SQL developer at Forma.ai