mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-22 14:05:43 -05:00
39 lines
908 B
Markdown
39 lines
908 B
Markdown
---
|
|
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:
|
|
|
|
```shell
|
|
npx quartz update
|
|
```
|
|
|
|
Update specific plugins by name:
|
|
|
|
```shell
|
|
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. The lockfile (`quartz.lock.json`) is updated with the new commit hashes.
|
|
|
|
This is functionally identical to running:
|
|
|
|
```shell
|
|
npx quartz plugin update
|
|
```
|
|
|
|
## Flags
|
|
|
|
The `update` command supports the standard [[cli/index|common flags]] (`--directory`, `--verbose`).
|
|
|
|
## See Also
|
|
|
|
- [[cli/upgrade|quartz upgrade]] — upgrade the Quartz framework itself
|
|
- [[cli/plugin|quartz plugin]] — full plugin management (install, remove, enable, disable, etc.)
|