Been following a tutorial but it installs dev version of Magento2. How can I install the stable version 2.1.x ?
cd /var/ww/html/
git clone https://github.com/magento/magento2.git
cd magento2
composer install
Been following a tutorial but it installs dev version of Magento2. How can I install the stable version 2.1.x ? cd /var/ww/html/ git clone https://github.com/magento/magento2.git cd magento2 composer install |
|||
|
You can switch to the 2.1 branch after cloning the repository.
|
||||
|
Checkout to the correct branch first. Edit: you can also checkout to a specific tag. You may also want to look at installing from composer directly. I prefer it that way myself but you do need to sign up to Magento and get your authentication keys (which are like a username and password to download Magento 2) this way so it can be a bit of a pain to get going the first time. You use a command like this: |
|||||||||||||||||||||
|