Magento 2.4 no longer support web wizard installation. Now you need composer to install Magento 2.4 on localhost.
Also, composer should be at version 1.10.x as Magento 2 does not support Composer 2
<< Snipped >>