Skip to content
Back to skills

Node Versions

BSecurity

Load BEFORE running `nvm use/install/list`, prepending a Node folder to PATH, or when a project needs another Node or npm version (.nvmrc, "engines", EBADENGINE, a build or `npx` failing on the Node version) or someone asks which Node versions are installed on Windows.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsshellnodenodejs

Security analysis

B84/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 1, 2026

npx -y skills add Borcioo/rigger-claude-code --skill node-versions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Node Versions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Node Versions
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/borcioo-node-versions/badge)](https://www.skillsdirectory.com/skills/borcioo-node-versions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: node-versions
description: >-
  Load BEFORE running `nvm use/install/list`, prepending a Node folder to PATH, or when a project
  needs another Node or npm version (.nvmrc, "engines", EBADENGINE, a build or `npx` failing on
  the Node version) or someone asks which Node versions are installed on Windows.
---

# Node versions (nvm-windows via Herd)

- `%ProgramFiles%\nodejs` is not an install: it is a symlink (`NVM_SYMLINK`) that `nvm use`
  repoints. Versions live in `NVM_HOME` = `%USERPROFILE%\.config\herd\bin\nvm\v<version>\`.
- `nvm list` is authoritative (the Herd UI shows only some).
  Check it and the project's `.nvmrc` / `engines` instead of guessing.
- Take npm package versions from the registry (`npm view <pkg> version`), and add dependencies with
  `npm install <pkg>` / `npm i -D <pkg>` (or the pnpm/yarn equivalent the project uses), never by
  typing them into `package.json`.

## Switching — in order of preference

Pick `<version>` from `nvm list`.

1. **Session-scoped, no side effects (default).** npm and npx follow:
   ```powershell
   $env:PATH = "$env:USERPROFILE\.config\herd\bin\nvm\v<version>;$env:PATH"
   ```
   Prepend it to every command that needs that version, or put it in the script you run.
2. **One-off:** `& "$env:USERPROFILE\.config\herd\bin\nvm\v<version>\node.exe" script.js`
3. **`nvm use <version>` changes the machine-wide default** for every shell, editor and running
   service. Only when the user asks for a new default; a build or a test uses 1 or 2. If you did change it
   for a test, note `node --version` before and restore it after.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.