-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
44 lines (38 loc) · 1.43 KB
/
install.bat
File metadata and controls
44 lines (38 loc) · 1.43 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
@echo off
echo ===================================
echo Full Development Environment Setup
echo ===================================
echo.
echo --- Installing MSYS2 (C/C++ Compiler) ---
echo Downloading MSYS2 installer...
curl -L -o msys2-installer.exe "https://github.com/msys2/msys2-installer/releases/download/2025-08-30/msys2-x86_64-20250830.exe"
echo Installing MSYS2...
start /wait "" msys2-installer.exe /S /D=C:\msys64
echo Deleting installer...
del msys2-installer.exe
echo MSYS2 installation complete.
echo.
echo --- Installing Oracle JDK (Java Compiler) ---
echo Downloading Oracle JDK 25...
curl -L -o jdk-25_windows-x64_bin.msi "https://download.oracle.com/java/25/latest/jdk-25_windows-x64_bin.msi"
echo Installing Oracle JDK 25...
start /wait msiexec.exe /i jdk-25_windows-x64_bin.msi
echo Setting JAVA_HOME and updating PATH...
setx JAVA_HOME "C:\Program Files\Java\jdk-25" /m
setx PATH "%%PATH%%;%%JAVA_HOME%%\bin" /m
echo Deleting installer...
del jdk-25_windows-x64_bin.msi
echo Oracle JDK 25 installation complete.
echo.
echo --- Installing Python 3.12 ---
winget install --id Python.Python.3.12 --exact --accept-source-agreements --accept-package-agreements --silent
echo.
echo --- Running Python Setup Script for other dev tools ---
python setup_dev_env.py
echo.
echo --- Configuring PowerShell Profile ---
python setup_profile.py
echo.
echo ===================================
echo Setup Complete
echo ===================================