Skip to content
On this page

Guides

Upgrading from earlier versions of Clay, and solutions for common problems.

#Which guide do I need?

Upgrading to Clay 2 Upgrading to Clay 3 Upgrading to Clay 4 Upgrading to Clay 5 Clay 1with Clay Oven Clay 2 Clay 3 Clay 4 Clay 5
Your site runs on Follow, in this order
Clay 4 Clay 5
Clay 3 Clay 4, then Clay 5
Clay 2 Clay 3, then Clay 4, then Clay 5
Clay 1 with Clay Oven Clay 2, then Clay 3, then Clay 4, then Clay 5

Not sure which version you run? npx clay --version tells you.

#Before you upgrade

  1. Commit your work, so the upgrade is one change you can review and undo.
  2. Read the guide for the next version, and its “At a glance” table.
  3. Upgrade one major version at a time, and finish each guide with npx clay build --strict: when it passes, that step is done.

The changelog lists every change of every release, including the small ones that need no guide.

Tip

Stuck? Troubleshooting covers missing styles, images, icons and dates, and failing builds.


In this section