vid/bin/npm.bat

4 lines
130 B
Batchfile
Raw Normal View History

2022-03-04 19:35:47 +08:00
@echo off
where npm.cmd >nul 2>nul
if errorlevel 1 call choco install nodejs -y & call %~dp0\v-choco-refreshenv
call npm.cmd %*