Keeping the Vibgrate CLI current ensures you get the latest scanners and ecosystem support. This short guide covers the supported ways to upgrade and how to confirm the result.
Upgrade with the built-in updater
The simplest path is the built-in updater, which checks for and installs the latest version:
vg update
Upgrade with your package manager
If you installed through a package manager, reinstall the latest version with the same tool.
npm:
npm install -g @vibgrate/cli
pnpm:
pnpm add -g @vibgrate/cli
yarn:
yarn global add @vibgrate/cli
bun:
bun add -g @vibgrate/cli
Project-pinned installs
If the CLI is a project dev dependency, update it in that project so the whole team moves together:
npm install --save-dev @vibgrate/cli
Confirm the version
After upgrading, verify the active version:
vg --version
Then run a quick scan to confirm everything works:
vg
Troubleshooting
- Old version still active — you may have both a global and a project-local install; check which one resolves on your PATH.
vg updatecannot write — if the CLI was installed by a package manager into a managed location, upgrade through that package manager instead.
Related
See verifying your Vibgrate CLI install and the install guides for macOS and Linux or Windows.