Is there a manual installation of node.js for Windows 7?

I easily installed Node.js before on Mac and other PCs, but on the computer that I have at work, it is limited to running .msi files.

Is there a way to manually install and configure Node.js and npm on Windows 7? I have access to Powershell.

+1
powershell windows-7-x64 windows-installer
source share
1 answer

Installing nodejs (and npm) on a computer running Windows 7 does not require any โ€œmagicโ€ if you have administrator access on the target machine and do not care about setting up the expected โ€œuninstallationโ€, various Windows performance counters, event tracking, or in the menu "Start".

To manually install from an existing installation on one machine to another machine, simply

  • Copy the entire contents of the \ Program Files \ nodejs and \ Users \ USERNAME \ AppData \ Roaming \ npm directories, as well as the \ Users \ USERNAME \ .npmrc file to the same directories on the target machine. (Replace USERNAME with your own Windows login.)

  • Edit the file "\ Users \ USERNAME \ .npmrc" to replace the original username with the username on the target machine.

  • Add "C: \ Program Files \ nodejs" and "C: \ Users \ USERNAME \ AppData \ Roaming \ npm" to your PATH.

If you want to manually install directly from MSI (without using an existing installation to work), get Scott Willeke excellent lessmsi , which allows you to extract all files from any MSI archive and detect all actions taken by the Windows installer, such as the required changes in the Registry, etc. d. (Although for nodejs, you only need to edit the registry to add the correct keys to automatically uninstall it.)

+4
source share

All Articles