Fix 'npm command not found' on Linux - Command Not Found Fix: Setup Environment Variables-Fix Windows Activation Port Already Allocated Error

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.