I am working on installing Magento 2.4.0 Open Source version. I have the prerequisites installed and am at:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento
This installs the 2.3.X version which I don't want so have tried the following:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.0 magento
I am getting the following message back: [InvalidArgumentException]
Could not find package magento/project-community-edition with version 2.4.0
Am I doing this wrong or is this not available yet? If not, is there a way of installing the development version using a similar method?
Solved! Go to Solution.
Hi @tommygunner
Magento has not officially launched Magento 2.4.0 version to install(it says on official documentation Click here of beta release but it didn't work on my side), the latest version is 2.3.5 .
you check the below reference to see the available Magento versions :
https://magento.com/tech-resources/download
But Magento 2.4.0 version you can clone it from GitHub (It will have a different directory structure as it is not released officially):
https://github.com/magento/magento2
Hi @tommygunner
For install Magento 2 community using composer, you should refer below link:
https://www.simicart.com/blog/magento-2-composer/
As you are trying to install Magento 2 by using below command :
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.4.0 magento
which is wrong .
Reference URL will help you to install Magento2 community edition .
If issue resolve, please click on 'Kudos' & Accept as Solution!
Hi @tommygunner
Magento has not officially launched Magento 2.4.0 version to install(it says on official documentation Click here of beta release but it didn't work on my side), the latest version is 2.3.5 .
you check the below reference to see the available Magento versions :
https://magento.com/tech-resources/download
But Magento 2.4.0 version you can clone it from GitHub (It will have a different directory structure as it is not released officially):
https://github.com/magento/magento2