Where can I download previous versions of Craft?

16

4

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?

Brad Bell

Posted 2014-06-15T21:34:54.763

Reputation: 53 205

Answers

22

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 versions directly from the Craft Github repo release page. Or 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.

Brad Bell

Posted 2014-06-15T21:34:54.763

Reputation: 53 205

2you knew the answer to this question all along! – Luke Holder – 2014-06-16T06:59:36.947

This is pretty slick. – Matt Stein – 2014-06-16T15:24:02.960

Hey Brad any ideas why the latest 2.0 url isn't working? This one here: http://download.buildwithcraft.com/craft/2.0/2.0.2551/Craft-2.0.2551.tar.gz

– Josh Angell – 2014-09-23T09:31:00.967

Ignore me - I tried .zip as I seemed to remember downloads used to zips only and it worked... – Josh Angell – 2014-09-23T09:39:14.573

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 – 2014-09-23T14:38:55.563