Downcity
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 update
city update --manager npm
city update --manager pnpm

Options

  • --manager <manager>: choose auto, npm, or pnpm (default: auto)

Important behavior

  • city update updates only the currently installed global CLI package.
  • It does not automatically restart already running city runtime / Console processes.
  • After update completes, run city restart if you want running processes to load the new version.

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.