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
For node portable installation in windows batch file with below command can also be created in node root directory(where node.exe file resides) which updates PATH environment variable on execution and also directly through command prompt from node root directory
PATH %~dp0;%PATH%;
~dp0 : fetches current directory path in windows
Hopes that Helps
Add following paths to the PATH
environment variable, if you have downloaded the Node.js Windows Binary (.zip)
<your os root>\node-v10.16.1-win-x64\
<your os root>\node-v10.16.1-win-x64\node_modules\npm\bin\
Then test following commands from the command prompt:
node -v
nmp -v
Download the node js zip file, extract it to a folder. Then create a windows batch file to set path to node js folder(as you may not be able to set path the usual way witout admin rights). Then run your node/npm/npx commands from the same command window. You even can open Visual Studio Code from there. If you need step by step checkout this video : https://youtu.be/BLnbtsDIW_E
Try GitHub n-install:
curl -L https://git.io/n-install | bash -s -- -y
Accepted answer from @Anothony O. didn't work for me. If got it working following these instructions and by adding the following to node\node_modules\npm\npmrc
strict-ssl=false