On Windows:
(Invoke-WebRequest -Uri https://pdm.fming.dev/install-pdm.py -UseBasicParsing).Content | python -
On Linux/Mac:
curl -sSL https://pdm.fming.dev/install-pdm.py | python3 -
cd ~
curl -sSLO https://pdm.fming.dev/dev/install-pdm.py
python install-pdm.py --remove
python install-pdm.py
rm install-pdm.py