Vite+ (vp) is the unified toolchain and entry point for web development. It manages the runtime, package manager, and frontend toolchain in one place. For Node.js and web development, prefer vp commands.
Daily command mapping:
- Shims node, npm, npx, vpx, vpr
- Dependencies: use
vp install,vp add,vp remove,vp update,vp dedupe,vp outdated,vp list,vp why,vp info, andvp rebuild. Pass install flags throughvp install, such as--frozen-lockfile,--lockfile-only,--filter <pattern>, or-w. - Vite+ project lifecycle: use
vp dev,vp build,vp preview,vp check,vp lint,vp fmt, andvp test. Prefervp checkfor static validation loops. Usevp packfor libraries, packages, and CLIs. - Ordinary Node.js project scripts: use
vp run <script>orvpr <script>instead ofnpm run/pnpm run. If a script name conflicts with a built-in command, such astestorbuild,vp run <script>runs the package script. - Monorepo tasks:
vp runruns in the current package by default; usevp run <package>#<task>,vp run -r <task>,vp run -t <package>#<task>,vp run --filter <pattern> <task>, orvp run -w <task>for workspace execution. - Local binaries: use
vp exec <binary> ...orvpx <binary> ...fornode_modules/.bin. - Node scripts and snippets: use the shimmed
node ...orvp node .... - One-off package binaries: use
vp dlx .... - Project setup: use
vp create,vp migrate,vp config, andvp stagedfor scaffolding, migration, hooks, and staged-file checks. - Raw package-manager behavior is an escape hatch: use
vp pm <command>only when the normalizedvpcommands do not cover the need. - Environment debugging: use
vp env current,vp env doctor, andvp env which <tool>to inspect runtime and shim resolution.
Avoid pnpm exec vp ..., npm exec vp ..., raw pnpm/npm/yarn/bun install, and vp run node/tsc/vite-node. vp run is for tasks; use node, vp node, vp exec, or vpx for commands and binaries.
For Python-related work, prefer using uv when applicable instead of calling Python, pip, venv, or package-management commands directly.
Common examples:
- Use
uv run <command>for running Python commands or project scripts. - Use
uv syncfor installing project dependencies from lockfiles. - Use
uv addanduv removefor dependency changes. - Use
uvx <tool>oruv tool run <tool>for one-off Python tools. - Use
uv python ...for Python version management.