As screenshot below we can see, on Debian WSL window terminal, node: command not found
and the same thing for npm
.
But in VScode WSL window terminal that is never happens. Node and NPM package always detected.
But I don't wan't to use VScode terminal while in development, since VScode terminal is really taking high usage and can crash due to over cosumption usage.
QUESTION: Why Node
and NPM
packages not detected in my native WSL2 Debian terminal? How to fix it?