LinuxCommandLibrary

bun-update

Update installed packages

TLDR

Update all packages to latest compatible versions

$ bun update
copy
Update a specific package
$ bun update [package]
copy
Update to latest versions ignoring semver ranges
$ bun update --latest
copy

SYNOPSIS

bun update [options] [packages...]

DESCRIPTION

bun update updates installed packages to newer versions. By default, it respects semver ranges defined in package.json. Use --latest to update beyond those constraints.

PARAMETERS

--latest

Update to latest versions, ignoring version ranges in package.json.

CAVEATS

Using --latest may introduce breaking changes. Always review changelogs and test thoroughly after major updates.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community