see: https://peps.python.org/pep-0425/
pip download --platform -r requirements.txt -d /path/to/download/dir/
you can replicate remote environment locally i.e. create new virtual environment with same platform, python version and packages as remote. And run above command without platform switch.