31

If you have a base install script that you use to quickly turn out a new base install for Craft, it would be very useful for that script to be able to download the latest version of Craft when doing it’s new site setup logic.

What’s the best way to do that?

  • 2
    Note: If said base install script were made publicly available (e.g. github.com/mattstauffer/makeItCraft ), be sure to prompt the user for license acceptance so that it doesn't become a method of someone theoretically bypassing accepting the user agreement. – Matt Stauffer Jun 16 '14 at 13:39
36

In Craft 3:

You can download the latest Craft 3 release in zip or .tar.gz format by going to:

https://craftcms.com/latest.zip
https://craftcms.com/latest.tar.gz

Or since Craft 3 is Composer based, you can modify your composer.json's craftcms/cms line to install the specific version you're looking for.

In Craft 2:

You can get the latest Craft 2 version in either zip or tar.gz format by going to:

https://craftcms.com/latest-v2.zip
https://craftcms.com/latest-v2.tar.gz
  • 1
    cool! didn't know that flag was there, thought you wanted to block commandline downloads when you added that js tickbox! thanks! – Luke Holder Jun 16 '14 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.