1. Clear screen

clear

2. Navigate to the working folder

cd C:\MyDemos 

3. pip test

mkdir pip-compare
cd pip-compare
python -m venv .venv
.\.venv\Scripts\Activate.ps1
Measure-Command { pip install requests httpx rich } | Select-Object TotalSeconds
deactivate
cd ..

4. Poetry test

mkdir poetry-compare
cd poetry-compare
$env:Path = "$env:APPDATA\Python\Scripts;$env:Path"
poetry init --no-interaction --name poetry-compare --python ">=3.13"
Measure-Command { poetry add requests httpx rich } | Select-Object TotalSeconds
cd ..

5. uv test

uv init uv-compare
cd uv-compare
Measure-Command { uv add requests httpx rich } | Select-Object TotalSeconds