How do you install an earlier version of Discourse?

You should be able to restore any older version to the current version - we keep all the info necessary to upgrade the database.