set-nodeinstalllocation
Set the default Node.js installation directory for ps-nvm. tldr-pages
On several platforms
Several platforms
Set the default Node.js installation directory for ps-nvm. This command is part of ps-nvm and can only be run under PowerShell.
Change the Node.js install location to a specified directory (ps-nvm will create a new .nvm subdirectory to install them)
Set-NodeInstallLocation path/to/directoryIdentify