Upgrade NocoBase App
This guide applies to apps installed with nb init. If your app was installed with the old method, read How to upgrade NocoBase from 2.0 to 2.1 first.
Step 1: Confirm the Current Env
If you are not sure which envs are available, list them first:
If the current env is not the app you want to upgrade, switch to the target env:
Step 2: Run the Upgrade
By default, upgrade downloads the app source code or Docker image again.
For npm / Git envs, the source/ directory is deleted and downloaded again. Do not put files you need to keep in source/.
If you have already prepared the source code or Docker image manually and do not want CLI to download it again, add --skip-download after the command.
The default upgrade command is:
This command usually completes these steps:
- Stop the current app
- Download and replace the saved source or image
- Sync commercial plugins
- Upgrade and start the app
- Refresh env runtime information
In scripts, CI, or AI Agent sessions, pass --force explicitly:
If the app to upgrade is not the current env, specify the env:
Upgrade to a Specific Version
Use --version to upgrade to a specific version channel:
You can also pass an exact version:
After a successful upgrade, CLI writes the target version back to the env configuration, so later upgrades or recovery flows can reuse it.
Skip Download
If you have already updated the source code or Docker image, and only want to run upgrade and start based on the current content, add --skip-download:
This skips source or image download and also skips commercial plugin sync. Use it only when the target version has already been prepared manually.
Step 3: Verify the Result
After the upgrade, check env runtime and app logs:
Then open the app and confirm that the administrator account can sign in. If you want an AI Agent to continue working with this app, start a new AI Agent session or restart the current one so it can read the latest env information.
Related Links
- Manage apps — Start, stop, restart, view logs, and upgrade apps
nb app upgradecommand reference — View all upgrade command options- Multiple environment management — Confirm, switch, and maintain multiple CLI envs

