-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathinstall.bat
More file actions
54 lines (47 loc) · 1.49 KB
/
install.bat
File metadata and controls
54 lines (47 loc) · 1.49 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@echo off
title HexSecGPT Installer
echo ======================================
echo HexSecGPT Installer for Windows
echo ======================================
:: Check for Git
echo [~] Checking for Git...
git --version >nul 2>nul
if %errorlevel% neq 0 (
echo [!] Git is not installed or not in PATH.
echo [!] Please install Git from https://git-scm.com/download/win and try again.
pause
exit /b
)
echo [+] Git found.
:: Check for Python
echo [~] Checking for Python...
python --version >nul 2>nul
if %errorlevel% neq 0 (
echo [!] Python is not installed or not in PATH.
echo [!] Please install Python from https://www.python.org/downloads/ and make sure to check "Add Python to PATH".
pause
exit /b
)
echo [+] Python found.
:: Clone the repository
if exist "HexSecGPT" (
echo [!] HexSecGPT directory already exists. Skipping clone.
) else (
echo [+] Cloning HexSecGPT repository...
git clone https://github.com/hexsecteam/HexSecGPT.git
)
cd HexSecGPT
:: Install Python requirements
echo [+] Installing required python packages...
python -m pip install -r requirements.txt
echo.
echo ======================================
echo Installation Complete!
echo ======================================
echo To run HexSecGPT, run this command in this terminal:
echo.
echo python HexSecGPT.py
echo.
echo Don't forget to get your API key from OpenRouter or DeepSeek!
echo ======================================
pause