Installing/updating software in Ubuntu in WSL2

  apt, ubuntu, windows, windows-subsystem-for-linux, wsl-2

The last time I used WSL2 I am sure I installed nvm, and node.js. It’s been a month or so since then, and when I went to use it again nvm, and node are not installed. What’s going on? When the Ubuntu distro gets updated by Window Update, does it blow away all my changes? Perhaps its because NVM is not installed with apt-get? Furthermore, do I need to run any apt-get commands to keep the software in Ubuntu updated, or is Windows going to handle that for me?

Source: Windows Questions