# bun upgrade > Upgrade Bun to the latest version. > More information: . - 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`