DEV Community

Discussion on: Portable NodeJS without administrator access

Collapse
 
dainiuxt profile image
Dainius

Thanks, William, for great walk-through, unfortunately I stuck at step 5. Installer stubbornly want to create c:/settings.txt, no matter what i input during installation or even in install.cmd file. There is no other than C:/ on computer I am using right now and I don't have administrator permissions here.

Collapse
 
yougotwill profile image
Will G

Hey Dainius, assuming you are wanting to install onto a usb, are you running your command line program from your usb and not from your regular Programs? Basically when you run your terminal from a portable program only that usb (E:/) will be in your path and not the C drive.

The only other thing I can think of is check if nvm can run even if settings.txt isn't made correctly. If it does then use nvm root to change the nvm PATH to your USB. Then you should be able to move the settings.txt file.

Collapse
 
dainiuxt profile image
Dainius

Hi, William,

actually I'm installing in some folder in c:/ disk. Will try the USB option then. Thanks for your answer.