HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

bun upgrade — Upgrade Bun to the latest version. More information: <https://bun.com/docs/installation#upgrading>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
upgradethecommandlatestbunclibun upgradeversion

Problem

How to use the bun upgrade command: Upgrade Bun to the latest version. More information: <https://bun.com/docs/installation#upgrading>.

Solution

bun upgrade — Upgrade Bun to the latest version. More information: <https://bun.com/docs/installation#upgrading>.

Upgrade to the latest stable version:
bun upgrade


Upgrade to the latest canary build:
bun upgrade --canary


Switch back to the latest stable version:
bun upgrade --stable

Code Snippets

Upgrade to the latest stable version

bun upgrade

Upgrade to the latest canary build

bun upgrade --canary

Switch back to the latest stable version

bun upgrade --stable

Context

tldr-pages: common/bun upgrade

Revisions (0)

No revisions yet.