install.cmd
1 @echo off 2 REM ============================================================================ 3 REM Hermes Agent Installer for Windows (CMD wrapper) 4 REM ============================================================================ 5 REM This batch file launches the PowerShell installer for users running CMD. 6 REM 7 REM Usage: 8 REM curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.cmd -o install.cmd && install.cmd && del install.cmd 9 REM 10 REM Or if you're already in PowerShell, use the direct command instead: 11 REM irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex 12 REM ============================================================================ 13 14 echo. 15 echo Hermes Agent Installer 16 echo Launching PowerShell installer... 17 echo. 18 19 powershell -ExecutionPolicy ByPass -NoProfile -Command "irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex" 20 21 if %ERRORLEVEL% NEQ 0 ( 22 echo. 23 echo Installation failed. Please try running PowerShell directly: 24 echo powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex" 25 echo. 26 pause 27 exit /b 1 28 )