When developing a website it will make the process much easier if you can develop the whole stack on your local PC. Lots of tools exists to help you with this, some examples are Docker, Vagrant and Ddev.
DDEV[1] is a docker configuration that handles all you need to develop a Drupal site. The link should provide you with more background information.
The following receipt would get you started with a Drupal 9 development site.
mkdir drupal9-site cd drupal9-site ddev config --project-type=drupal9 --docroot=web --create-docroot ddev start ddev composer create drupal/recommended-project ddev composer require drush/drush ddev drush site:install --account-name=admin --account-pass=1234 -y ddev drush uli ddev launch
The final launch command will start a local web browser with the link to the site.