Commands
city update
Update the currently installed global Downcity CLI package to the latest version
city update
Update the currently installed global Downcity CLI package to the latest version.
By default, Downcity detects both the package manager and the installed package name. If you installed the CLI from @downcity/city, city update upgrades @downcity/city; if you installed it from downcity, it upgrades downcity.
Usage
city updatecity update --manager npmcity update --manager pnpmOptions
--manager <manager>: chooseauto,npm, orpnpm(default:auto)
Important behavior
city updateupdates only the currently installed global CLI package.- It does not automatically restart already running city runtime / Console processes.
- After update completes, run
city restartif you want running processes to load the new version.
Related commands
Example output
$ city update
downcity v1.0.0
Updating downcity
manager npm
command npm install -g @downcity/city@latest
Downcity updated
package @downcity/city@latest
manager npm
note If city runtime / Console is already running, use `city restart` to load the new version.