docs/docs/en/ai/upgrade-from-2-0-to-2-1.md
Upgrading from NocoBase 2.0 to NocoBase 2.1 is smooth for the app itself. The bigger change is the NocoBase CLI.
Where:
yarn nocobasenbOld apps do not have to move to nb right away. If you only need to upgrade an already stable NocoBase 2.0 app to 2.1, continue using the original installation and upgrade method by default. For newly installed apps, we recommend using the new nb CLI.
If you are already used to the previous installation method, you can keep using it. Follow the original installation and upgrade docs as before.
nb CLI for New AppsFor new apps, we recommend the more convenient nb installation and upgrade flow.
nb CLIIf you want to manage apps with nb consistently in the future, the more reliable approach for now is to create a new app and migrate the old app data into it.
Migration steps:
nb initstorage, and required environment variablesYou can also wait for a while. The ability for nb to take over existing local apps is still under development.