vid/bin/v-node.cmd

4 lines
125 B
Batchfile

@echo off
where npm >nul 2>nul
if errorlevel 1 call v-choco install nodejs -y & call %~dp0\v-choco-refreshenv
call node %*