This guide installs Magento Open Source using the official Composer-based workflow.
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2
You will be prompted for Magento Marketplace authentication keys.
Create a database and user for Magento.
bin/magento setup:install \
--base-url=http://example.com \
--db-host=localhost \
--db-name=magento \
--db-user=magento_user \
--db-password=StrongPassword123! \
--admin-firstname=Admin \
--admin-lastname=User \
--admin-email=admin@example.com \
--admin-user=admin \
--admin-password=StrongPassword123! \
--language=en_US \
--currency=USD \
--timezone=UTC \
--use-rewrites=1
The installer outputs the admin URL. Open it in a browser to log in.
Check the Magento Open Source installation guide or reach out via our contact page.