Use vp upgrade to update the global vp binary, and use Vite+'s package management commands to update the local vite-plus package in a project.
There are two parts to upgrading Vite+:
- The global
vpcommand installed on your machine - The local
vite-pluspackage used by an individual project
You can upgrade both of them independently.
vp upgradeIf you installed vite-plus globally with npm or pnpm instead of the install script, update it with the same package manager:
npm install -g vite-plus@latest
pnpm add -g vite-plus@latestUpdate the project dependency with the package manager commands in Vite+:
vp update vite-plusYou can also use vp add vite-plus@latest if you want to move the dependency explicitly to the latest version.