Full-stack-skills nvm-verify
Verify nvm installation is working correctly by checking nvm, node, and npm commands, diagnosing PATH order, and inspecting profile loading. Use when the user reports nvm command not found, wants to verify nvm is installed, or needs to diagnose why nvm is not loading in new terminal sessions.
git clone https://github.com/partme-ai/full-stack-skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/partme-ai/full-stack-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/nvm-skills/nvm-verify" ~/.claude/skills/partme-ai-full-stack-skills-nvm-verify && rm -rf "$T"
skills/nvm-skills/nvm-verify/SKILL.mdVerify nvm Installation
Run diagnostic checks to confirm nvm is installed and loading correctly.
Workflow
-
Check nvm, node, and npm:
nvm --version # Should print nvm version (e.g., 0.40.1) node -v # Should print Node version npm -v # Should print npm version command -v nvm # Should print "nvm" (it's a shell function) -
If nvm is not found, inspect the profile:
# Check which profile is loaded echo $SHELL # Inspect for nvm lines: grep -n "nvm" ~/.bashrc ~/.zshrc ~/.profile 2>/dev/null -
Check PATH and NVM_DIR:
echo "NVM_DIR=$NVM_DIR" echo $PATH | tr ':' '\n' | grep nvm ls -la "$NVM_DIR/nvm.sh" 2>/dev/null && echo "nvm.sh exists" || echo "nvm.sh NOT FOUND" -
Fix and verify in a new terminal session:
# After fixing profile, open a new terminal: command -v nvm && echo "nvm OK" || echo "nvm still broken"
Important: nvm is a shell function, not a binary, so the profile must load correctly. For deeper platform issues, use nvm-troubleshooting-macos or nvm-troubleshooting-linux.
Example file map
- Full verification checklistexamples/verify-installation.md
- Common problems and solutionsexamples/problems.md
- PATH restorationexamples/restore-path.md
- Key things to know about nvmexamples/important-notes.md
Keywords
nvm verify, nvm --version, node -v, npm -v, PATH, profile, verification, nvm not found