diff --git a/docs/cli/update.md b/docs/cli/update.md index dfda37f014cfbe..209f9c0f85bff3 100644 --- a/docs/cli/update.md +++ b/docs/cli/update.md @@ -4,4 +4,14 @@ To update all dependencies to the latest version _that's compatible with the ver $ bun update ``` -This will not edit your `package.json`. There's currently no command to force-update all dependencies to the latest version regardless version ranges. +## `--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 +``` \ No newline at end of file