1 mkdir %userprofile%\.local
2 mkdir %userprofile%\.local\opt
4 pushd %userprofile%\.local\opt
5 powershell $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://nodejs.org/dist/v12.16.2/node-v12.16.2-win-x64.zip -OutFile node-v12.16.2-win-x64.zip
6 tar xf node-v12.16.2-win-x64.zip
7 move node-v12.16.2-win-x64 node-v12.16.2
10 pathman add %userprofile%\.local\opt\node-v12.16.2\bin