I'm trying to reinstall nvm (as a new user) after uninstalling it (as root) but clearly it didn't work. Please tell me how to fix this.
user@site-beta:~/htdocs$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 13527 100 13527 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105kYou have $NVM_DIR set to "/root/.nvm", but that directory does not exist. Check your profile files and environment.
Edit: my advice is to give up on NVM and just install node normally, because clearly NVM isnt making it any easier.