quartz/docs/cli/update.md
2026-03-12 00:56:35 +01:00

1.1 KiB

title
quartz update

The update command updates your installed plugins to their latest versions. It is a convenient shortcut for npx quartz plugin update.

Usage

Update all installed plugins:

npx quartz update

Update specific plugins by name:

npx quartz update my-plugin another-plugin

How it Works

For each plugin, update fetches the latest commit from the plugin's remote repository and rebuilds it. If a plugin was installed from a specific branch (e.g., github:user/repo#my-branch), updates will track that branch instead of the default branch. Local plugins (added from a file path) are rebuilt without any git operations. The lockfile (quartz.lock.json) is updated with the new commit hashes.

This is functionally identical to running:

npx quartz plugin update

Flags

The update command supports the standard cli/index (--directory, --verbose).

See Also

  • cli/upgrade — upgrade the Quartz framework itself
  • cli/plugin — full plugin management (install, remove, enable, disable, etc.)