Files
sillytavern-repalice/test-npm-registry.bat
2026-04-26 03:34:47 +08:00

20 lines
480 B
Batchfile

@echo off
chcp 65001 >nul
echo ========================================
echo Testing npm Registry Connection
echo ========================================
echo.
echo Testing registry.npmmirror.com...
npm config get registry
echo.
echo Testing connection speed...
time <NUL
npm ping --registry=https://registry.npmmirror.com
echo.
echo ========================================
echo If the ping succeeds, your npm mirror is working!
echo ========================================