Auto-updating is great and all, but sometimes you need to roll-back to a previous version or build of Craft for whatever reason. Where can you download these?

up vote 22 down vote accepted

In Craft 2:

You can download previous versions of Craft from https://download.craftcms.com.

Previous versions and builds of Craft are available with the following URL format in both zip and tar.gz versions:

http://download.craftcms.com/craft/{version}/{version}.{build}/Craft-{version}.{build}.zip (or .tar.gz)

For example, if you wanted Craft 2.1 build 2557 in tar.gz format, it would be

http://download.craftcms.com/craft/2.1/2.1.2557/Craft-2.1.2557.tar.gz

Note that downloading Craft releases directly still binds you to Craft’s license agreement, and keep in mind that Craft does not support rolling back to previous versions automatically.

If you’ve already updated your site past a certain release and want to go back to it, you’ll need to find and restore a database backup that was created with the version you’re going back to.

In Craft 3:

You can download previous Craft 3 versions in several ways:

  • From pre-built packages in this format:

http://download.craftcms.com/craft/{majorVersion}/Craft-{majorVersion}.{minorVersion}.zip (or .tar.gz)

For example:

http://download.craftcms.com/craft/3.0/Craft-3.0.26.1.zip (or .tar.gz)
  • Directly from the Craft Github repo release page

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

  • 2
    you knew the answer to this question all along! – Luke Holder Jun 16 '14 at 6:59
  • This is pretty slick. – Matt Stein Jun 16 '14 at 15:24
  • Hey Brad any ideas why the latest 2.0 url isn't working? This one here: download.buildwithcraft.com/craft/2.0/2.0.2551/… – Josh Angell Sep 23 '14 at 9:31
  • Ignore me - I tried .zip as I seemed to remember downloads used to zips only and it worked... – Josh Angell Sep 23 '14 at 9:39
  • We only started generating .tar.gz files sometime in the 2.1 release cycle, if I recall. Anything before that will only be zips. – Brad Bell Sep 23 '14 at 14:38

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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