Running OpenHands GUI on Windows without using WSL or Docker
localhost:3000
.
Note: If you encounter a RuntimeError: Directory './frontend/build' does not exist
error, make sure you’ve built the frontend first using the command above.
Important: Using PowerShell 7 (pwsh) instead of Windows PowerShell is recommended to avoid “System.Management.Automation” errors. If you encounter this error, see the Troubleshooting section below.
Note: If you’re running the frontend in development mode (usingnpm run dev
), use port 3001 instead:http://localhost:3001
coreclr
error. Install the .NET SDK which includes the runtime:
Failed to load CoreCLR
or pythonnet.load('coreclr')
when running OpenHands CLI, this indicates that the .NET Core runtime is missing or not properly configured. To fix this:
pythonnet.load('coreclr')
and will fail with an error if .NET Core is not properly installed.
\
) in paths, which may require adjustments when working with code examples designed for Unix-like systems.
IMPORTANT: This error is most commonly caused by using the built-in Windows PowerShell (powershell.exe) instead of PowerShell 7 (pwsh.exe). Even if you installed PowerShell 7 during the prerequisites, you may still be using the older Windows PowerShell by default.To resolve this issue:
C:\Program Files\PowerShell\7
by defaultNote: Make sure you’re explicitly usingpwsh
(PowerShell 7) and notpowershell
(Windows PowerShell). The command prompt or terminal title should say “PowerShell 7” rather than just “Windows PowerShell”.