When to use this skill
ALWAYS use this skill when the user mentions:
- Setting a default Node version or alias
- Creating or using a .nvmrc file
- Auto-switching versions per directory
Trigger phrases include:
- "nvm alias default", "default version", ".nvmrc"
- "auto use", "automatically switch when entering a directory"
How to use this skill
CRITICAL: This skill is about defaults and .nvmrc. Basic install/use belongs to nvm-usage-basics.
- Set the default alias or LTS target.
- Create or update .nvmrc with the required version or alias.
- Enable shell auto-use logic if requested.
- Verify switching behavior in a new shell session.
Important notes:
- Keep .nvmrc consistent across team repos to avoid version drift.
Example file map
- examples/default-version.md
- examples/nvmrc.md
- examples/auto-use-bash.md
- examples/auto-use-zsh.md
- examples/auto-use-fish.md
Keywords
nvm alias, default version, .nvmrc, auto use, project version, defaults