The proposed release date for Magento 2.2.0 is fast approaching (mid September 2017) and whilst the beta and various release candidate (RC) versions have been available for some time, they have only been available by cloning the relevant GitHub repos, which for Magento
Enterprise Edition Commerce has only been available to developers/partners that have been granted access.
However, now the RC process is mid way through we have composer access at last 🙂 and I’ll detail how you can get the current RC below.
Community Edition Open Source:
composer create-project --no-install --repository-url=https://repo.magento.com/ magento/project-community-edition <PATH-TO-INSTALLATION-DIRECTORY>
composer require magento/product-community-edition:2.2.0-rc20
Enterprise Edition Commerce:
composer create-project --no-install --repository-url=https://repo.magento.com/ magento/project-enterprise-edition <PATH-TO-INSTALLATION-DIRECTORY>
composer require magento/product-enterprise-edition:2.2.0-rc20
The above essentially does the following:
- The first command gets the latest version of the Magento community/enterprise ‘project’ (2.1.8 at time of writing) but does not install (hence the --no-install flag)
- The second command updates the requirement of the Magento community/enterprise ‘product’ repo to version specified ( 2.2.0-rc20) and then triggers the install / download process
From here you can then proceed to install as normal, for more guidance see the Magento DevDocs Installation Guide.
Good luck and have fun with RC! 🙂
Bonus – B2B Edition:
Currently the B2B Edition modules can’t be installed via composer and still require specific access to the GitHub repo to install.
However if you want to wrap it up into composer, Alan Kent (Magento’s Chief Architect) has written a handy little post on how to do so here following discussion on Twitter:
Until B2B is up, if you have access to git, have a look at the following quick note: https://t.co/vQ4K3QMWv9
— Alan Kent (@akent99) August 17, 2017