How to download old version 5.0 Word press using local by flywheel websites. also download a dump file of WordPress 5.0.8 but not able to upload
I think the easiest way is to setup a new site first (latest WP)
Then go into a site shell and use the WP CLI command to downgrade the install to whatever version you need.
wp core update --version=5.0.8 --force
Hope this helps,