Upgrading a create-nocobase-app Installation
Preparation before upgrading
- Be sure to back up the database first
- Stop the running NocoBase instance
1. Stop the running NocoBase instance
If it's not a background process, stop it with Ctrl + C. In a production environment, execute the pm2-stop command to stop it.
2. Execute the upgrade command
Simply execute the yarn nocobase upgrade command.
Upgrading to a specific version
Modify the package.json file in the project's root directory, and change the version numbers for @nocobase/cli and @nocobase/devtools (you can only upgrade, not downgrade). For example:
Then execute the upgrade command

