skills/nvm-skills/nvm-troubleshooting-linux/SKILL.md
Diagnose and fix nvm issues on Linux and WSL, including profile not loading, PATH errors, distro-specific differences, and Alpine compatibility problems. Use when the user reports nvm not found on Linux, nvm command not working in WSL, or distro-specific nvm issues.
npx skillsauth add teachingai/agent-skills nvm-troubleshooting-linuxInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Diagnose and fix common nvm problems on Linux distributions and Windows Subsystem for Linux.
Run diagnostic checks:
echo "Shell: $SHELL"
echo "NVM_DIR: $NVM_DIR"
cat ~/.bashrc | grep -n nvm
echo $PATH | tr ':' '\n' | grep nvm
Identify the distro and shell:
cat /etc/os-release | head -2
echo $SHELL
# WSL check:
uname -r | grep -i microsoft && echo "WSL detected"
Fix profile loading issues (most common problem):
# Ensure these lines are in ~/.bashrc (not just ~/.profile):
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Verify the fix:
source ~/.bashrc
command -v nvm # Should print "nvm"
nvm --version
Note: Installation steps belong to nvm-install. For macOS issues, use nvm-troubleshooting-macos.
examples/troubleshooting-linux.md - Linux-specific troubleshootingexamples/wsl-troubleshooting.md - WSL-specific issuesexamples/alpine-install.md - Alpine Linux guidanceexamples/problems.md - Common problems and solutionsexamples/compatibility-issues.md - Known compatibility issueslinux, wsl, troubleshooting, PATH, profile, compatibility, alpine, nvm not found
development
Guidance for Next.js using the official docs at nextjs.org/docs. Use when the user needs Next.js concepts, configuration, routing, data fetching, or API reference details.
tools
Provides comprehensive guidance for Flask framework including routing, templates, forms, database integration, extensions, and deployment. Use when the user asks about Flask, needs to create web applications, implement routes, or build Python web services.
development
Provides comprehensive guidance for FastAPI framework including routing, request validation, dependency injection, async operations, OpenAPI documentation, and database integration. Use when the user asks about FastAPI, needs to create REST APIs, or build high-performance Python web services.
development
Provides comprehensive guidance for Django framework including models, views, templates, forms, admin, REST framework, and deployment. Use when the user asks about Django, needs to create web applications, implement models and views, or build Django REST APIs.