forked from vivekchand/clawmetry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.cmd
More file actions
43 lines (38 loc) · 1.12 KB
/
install.cmd
File metadata and controls
43 lines (38 loc) · 1.12 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
@echo off
REM ClawMetry Installer for Windows (CMD)
REM Usage: curl -fsSL https://clawmetry.com/install.cmd -o install.cmd && install.cmd && del install.cmd
echo.
echo 🦞 ClawMetry Installer
echo Real-time observability for OpenClaw agents
echo.
REM Check for Python
where python >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
where python3 >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
echo ✗ Python not found.
echo Install Python from https://python.org/downloads
echo.
exit /b 1
)
set PYTHON=python3
) else (
set PYTHON=python
)
REM Check Python version
%PYTHON% -c "import sys; exit(0 if sys.version_info >= (3, 10) else 1)" 2>nul
if %ERRORLEVEL% NEQ 0 (
echo ✗ Python 3.10+ required.
echo Install from https://python.org/downloads
exit /b 1
)
echo → Installing clawmetry...
%PYTHON% -m pip install --upgrade clawmetry >nul 2>&1
if %ERRORLEVEL% NEQ 0 (
%PYTHON% -m pip install --user --upgrade clawmetry >nul 2>&1
)
echo ✓ Installed clawmetry
echo.
echo Ready! Run 'clawmetry' to start the dashboard.
echo Then open http://localhost:8900 in your browser.
echo.