Volta Rules
Fast, reliable JavaScript tool manager. Install and switch Node.js versions, npm, and yarn seamlessly per project.
3 rules
Volta Global Tool Installation Rule
Beginner
Enforce using volta install instead of npm install -g for all global CLI tools — ensures project-aware version resolution and clean tool management.
globs: **/package.json, **/.zshrc, **/.bashrc
volta-install, global-tools, npm-global, best-practices
View Rule
No nvm/Volta Coexistence Rule
Beginner
Enforce that nvm, fnm, n, and Volta are never installed simultaneously — only one Node.js version manager allowed to prevent PATH conflicts and version confusion.
globs: **/.zshrc, **/.bashrc, **/.nvmrc, **/.node-version
nvm, version-manager-conflict, path-resolution, cleanup
View Rule
Volta Version Pinning Policy
Beginner
Enforce Volta version pinning in all Node.js projects — pin Node, npm, and Yarn in package.json, use LTS for production, and maintain single source of truth for versions.
globs: **/package.json, **/.nvmrc, **/.node-version
volta-pin, version-pinning, package-json, nodejs-version
View Rule