mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
17 lines
398 B
Markdown
17 lines
398 B
Markdown
To update all dependencies to the latest version _that's compatible with the version range specified in your `package.json`_:
|
|
|
|
```sh
|
|
$ bun update
|
|
```
|
|
|
|
## `--force`
|
|
|
|
{% callout %}
|
|
**Alias** — `-f`
|
|
{% /callout %}
|
|
|
|
Bun by default respect the version rages defined in your package.json, to ignore this and update to the latest version you can pass in the `force` flag.
|
|
|
|
```sh
|
|
$ bun update --force
|
|
``` |