I\'m using Windows as a simple user (I don\'t have any admin rights) and want to install NodeJS LTS.
On the download site I have the choice to download only the bina
Source: https://medium.com/@github.gkarthiks/how-to-install-nodejs-and-npm-in-non-admin-access-windows-machines-102fd461b54c:
Step 1: Download the nodeJS.exe file from https://nodejs.org/en/download/ by clicking on All download options (example: https://nodejs.org/dist/v12.16.1/) and choose the right Windows architecture and download it.
Step 2: Choose a folder for nodeJS. For example, C:\ProgramData\Applications\nodejs and save the downloaded file under this folder.
Step 3: Add the nodeJS folder to the environment variable PATH by executing the below command in the cmd.exe, or using the User Interface. set PATH=C:\ProgramData\Applications\nodejs;%PATH% OBS! Remember to restart your computer after setting the environment variable. (Windows 10)
Step 4: Now download the stable version of npm from the below link by replacing the version. https://registry.npmjs.org/npm/-/npm-{VERSION}.tgz For example for npm version 6.4.1, https://registry.npmjs.org/npm/-/npm-6.4.1.tgz
Step 5: Now unzip the downloaded npm file anywhere and cd into package folder. (I used convert.io to convert tgz to zip for unzipping in Windows 10 https://convertio.co/tgz-converter/)
Step 6: Execute the following command in the cmd.exe
node bin/npm-cli.js install npm -gf
Step 7: Execute the following commands to verify the installation of nodeJS and npm.
node -v
npm -v