magento 2.3.6 download code example
Example: install magento 2.4.2
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition ./
php bin/magento setup:install \
--admin-firstname=John \
--admin-lastname=Doe \
--admin-email=[email protected] \
--admin-user=admin \
--admin-password=tin@me42. \
--base-url=https://fohow.kara.com.ng \
--base-url-secure=https://fohow.kara.com.ng \
--backend-frontname=admin \
--db-host=mysql \
--db-name=fohowkara \
--db-user=root \
--db-password=Tin@@me43.. \
--use-rewrites=1 \
--language=en_US \
--currency=NGN \
--timezone=Africa/Lagos \
--use-secure-admin=1 \
--admin-use-security-key=1 \
--session-save=files \
--elasticsearch-host=elasticsearch \
--elasticsearch-port=9200