with python -m we run the following command as a command in python
python -m venv .venv
(from the folder where .venv is)
.venv\Scripts\activate
All the following commands are meant to be executed in the activated virtual environment, they can be preceded by python -m
python -m pip install <package>~=4.0.0
python -m pip uninstall [options] <package>
python -m pip freeze > requirements.txt
python -m pip install -r requirements.txt --upgrade
python -m pip uninstall -r requirements.txt
python -m pip list