vid/bin/v-npm.cmd

4 lines
124 B
Batchfile

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