Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change node.js installation directory

Tags:

node.js

I downloaded the windows msi of node.js v5.6.0 64bit. When I execute it, it popped up a warning "Invalid E: drive" and shut down. There is no way to change the installation drive. I don't have E: drive, instead I want to install to an external drive F:. I think there was a previous installation on E: drive when my external drive was set as E.

like image 741
user266909 Avatar asked Feb 17 '16 08:02

user266909


1 Answers

This worked for me. Locate

HKEY_LOCAL_MACHINE\SOFTWARE\Node.js

There you will find an InstallPath property. Rename the drive to whatever valid drive on your system, then reinstall and install node again.

like image 78
brazorf Avatar answered Sep 27 '22 18:09

brazorf