升级到 Strapi 5 的分步指南
¥Step-by-step guide to upgrade to Strapi 5
Strapi 的最新主要版本是 Strapi 5。
¥The latest major version of Strapi is Strapi 5.
本页面旨在用作将 Strapi v4 应用升级到 Strapi 5 的分步说明。
¥The present page is meant to be used as step-by-step instructions for upgrading your Strapi v4 application to Strapi 5.
Prerequisites
你的 Strapi v4 应用已在最新的 v4 次要版本和补丁版本上运行。如果不是,请使用 minor 命令运行 升级工具 以访问它:npx @strapi/upgrade minor。
¥Your Strapi v4 application is already running on the latest v4 minor and patch version. If it's not, run the upgrade tool with the minor command to reach it: npx @strapi/upgrade minor.
步骤 1:准备升级
¥Step 1: Get ready to upgrade