-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
38 lines (33 loc) · 833 Bytes
/
setup.bat
File metadata and controls
38 lines (33 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
chcp 65001 >nul 2>&1
title AI CLI Gateway Bot - Setup
echo ============================================
echo AI CLI Gateway Bot - Initial Setup
echo ============================================
echo.
:: Check Node.js
node --version >nul 2>&1
if errorlevel 1 (
echo [ERROR] Node.js is not installed.
echo Install from https://nodejs.org/
pause
exit /b 1
)
echo [1/2] Node.js OK
node --version
:: Install dependencies
echo.
echo [2/2] Installing dependencies...
npm install
if errorlevel 1 (
echo [ERROR] Failed to install dependencies.
pause
exit /b 1
)
echo Dependencies installed.
echo.
echo ============================================
echo Setup complete. Run start_bot.bat to start.
echo (.env is auto-created on first run)
echo ============================================
pause