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. Commented Jun 16, 2014 at 13:39

1 Answer 1


In Craft 3:

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


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:

  • 1
    cool! didn't know that flag was there, thought you wanted to block commandline downloads when you added that js tickbox! thanks! Commented Jun 16, 2014 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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