vibgrate update — Check for CLI Updates

Check for and install Vibgrate CLI updates. Supports npm, pnpm, yarn, and bun package managers.

Vibgrate Docs

Vibgrate Help

Usage

vibgrate update [--check] [--pm <manager>]

What It Does

vibgrate update checks for a newer version of the Vibgrate CLI and optionally installs it.

Flags

FlagDescription
--checkOnly check for updates, don't install
--pmForce a package manager (npm, pnpm, yarn, bun)

Examples

Check for updates without installing

vibgrate update --check

Update using npm

vibgrate update --pm npm

Update using pnpm

vibgrate update --pm pnpm

Update using yarn

vibgrate update --pm yarn

Update using bun

vibgrate update --pm bun

Automatic Detection

If --pm is not specified, Vibgrate detects your package manager by checking for lockfiles:

LockfilePackage Manager
pnpm-lock.yamlpnpm
yarn.lockyarn
bun.lockbbun
package-lock.jsonnpm

Best Practices

  • Check for updates regularly to get the latest scanners and scoring improvements
  • Pin your CLI version in CI for reproducible builds, and bump deliberately
  • Use --check in CI scripts to log whether an update is available without actually installing

Related Commands