Last active
November 5, 2020 01:38
-
-
Save dogancelik/76853cf91a0a50368194fff8b3b65a8a to your computer and use it in GitHub Desktop.
Basic version management for #Node.js #Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd /D %~dp0 | |
wget -O node4.exe https://nodejs.org/download/release/latest-v4.x/win-x64/node.exe | |
wget -O node5.exe https://nodejs.org/download/release/latest-v5.x/win-x64/node.exe | |
wget -O node6.exe https://nodejs.org/download/release/latest-v6.x/win-x64/node.exe | |
wget -O node7.exe https://nodejs.org/download/release/latest-v7.x/win-x64/node.exe | |
wget -O node8.exe https://nodejs.org/download/release/latest-v8.x/win-x64/node.exe | |
wget -O node9.exe https://nodejs.org/download/release/latest-v9.x/win-x64/node.exe | |
wget -O node10.exe https://nodejs.org/download/release/latest-v10.x/win-x64/node.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cd /D %~dp0 | |
del node.exe | |
mklink /H node.exe node%~1.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment