GuidesHosting choices

Hermes Agent on Windows: native install, WSL2, and the gateway

Install Hermes Agent on Windows natively with PowerShell or in WSL2, where its files live, the gateway as a logon task, Hermes Desktop, and the common errors.

November 27, 2026The Everpod team
The short answer

Hermes Agent runs natively on Windows 10 and 11, with no WSL needed. In PowerShell, run iex (irm https://hermes-agent.nousresearch.com/install.ps1), open a new terminal, and run hermes. It installs to %LOCALAPPDATA%\hermes without admin rights. On Windows 11 22H2 or later you can instead install Hermes Desktop from the Microsoft Store or as an MSIX package. WSL2 is the other supported route, with the Linux installer, and is the better fit if you want Linux tooling. Either way the messaging gateway runs only while you are logged in and the PC is awake: hermes gateway install starts it at logon, and for a bot that answers around the clock you need a machine that stays on. All of this is as of Hermes v0.23.4, released November 23, 2026.

Native Windows or WSL2

Nous Research’s Windows page opens with “Hermes runs natively on Windows 10 and Windows 11 — no WSL, no Cygwin, no Docker.” Windows 10 and 11 on x86_64 and ARM64 are on the first tier of its platform list, and so is WSL2. The CLI, the TUI, the messaging gateway, cron jobs, the browser tool, MCP servers, local Ollama or LM Studio and the web dashboard all work on both. The differences that decide it:

Native WindowsWSL2
Installer
install.ps1 in PowerShell, or the Desktop packageinstall.sh, as on Linux
Your data
%LOCALAPPDATA%\hermes~/.hermes inside the distro
Start at login
A Scheduled TaskA systemd user unit
Shell the agent runs commands in
Git Bashbash
Matrix with encryption
Not native (Linux-only adapter)Yes
ARM64 PCs
No Google Chat extra, openWakeWord or local Faster-Whisper; the bundled Chromium runs under x64 emulationLinux builds

The docs disagree on one point. The Windows page lists the dashboard’s /chat terminal pane as working natively through ConPTY, while the dashboard page says that on a native install “the /chat tab will show a banner telling you to use WSL2 for that feature,” and the WSL2 guide calls it WSL2-only. If that pane matters to you, WSL2 is the safe choice. Native and WSL2 installs are separate, each with its own config, keys and sessions.

Install natively in PowerShell

iex (irm https://hermes-agent.nousresearch.com/install.ps1)
Copied

That line downloads a script and runs it straight away. To read it first, open the same URL in a browser, or read scripts/install.ps1 in the repository at the release tag.

No admin rights are needed. The script brings its own pinned Python and uv, fetches a pinned Git for Windows if Git is missing (it does not replace a Git you have), adds hermes to your user PATH and runs the setup wizard at the end. Open a new terminal before typing hermes, because the old one still has the old PATH. To pass options, use the scriptblock form:

& ([scriptblock]::Create((irm https://hermes-agent.nousresearch.com/install.ps1))) -NonInteractive -Channel main
Copied

The options in the installation docs include -NonInteractive (skip the wizard), -Channel main (the tip of the main branch instead of the latest release), -SkipBrowser, -SkipComputerUse, -IncludeDesktop and -HermesHome or -InstallDir for other locations. The install log is logs\install.log under the data folder.

PathWhat is there
%LOCALAPPDATA%\hermes\
Config, credentials, sessions, skills, plugins, logs
%LOCALAPPDATA%\hermes\.env
API keys
%LOCALAPPDATA%\hermes\hermes-agent\
The source checkout (not present with the Desktop package)
%LOCALAPPDATA%\hermes\bin\
The hermes launcher

Nous calls that .env file the normal place for API keys, and advises against putting secrets in your Windows user environment variables unless you want every Windows process to see them. Put a key in the file with an editor rather than typing it on a command line, where PowerShell keeps it in your history. The file sits in your own profile, so keep that folder out of anything you sync or share.

If Windows Defender or another antivirus quarantines uv.exe from %LOCALAPPDATA%\hermes\bin, the README calls it a false positive: the file is Astral’s uv, which Hermes bundles. It first gives a short PowerShell check that your copy matches uv’s signed release (with the GitHub CLI’s gh attestation verify), then, for Defender, an exclusion added from an administrator PowerShell:

Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\hermes\bin"
Copied

It says to exclude the folder rather than the file’s hash, because Hermes updates uv and the hash changes with each version. The trade: Microsoft’s exclusions page says a folder exclusion covers every file and subfolder in it and that “every exclusion is a protection gap,” so Defender stops scanning anything placed in that folder later, not only uv. Run the check before adding it.

Hermes Desktop on Windows

The desktop app is the same agent in a window (what it adds is in what Hermes Desktop is). On Windows there are three ways to get it:

Windows 10 and Windows 11 before 22H2 cannot run the Store or MSIX package; use install.ps1 or WSL2 there. The packages are large: the updating page puts a full one at about 1.89 GB for ARM64 and 2.86 GB for x64, with later updates downloaded as differences.

Install in WSL2

From an administrator PowerShell, then check the distro reports version 2, since the WSL2 guide warns “Hermes does not work reliably on WSL1.”

wsl --install
wsl --list --verbose
wsl --set-default-version 2
Copied

Inside Ubuntu, turn on systemd so the gateway can run as a service. This writes /etc/wsl.conf, replacing one you already have, so merge by hand if it exists:

sudo tee /etc/wsl.conf >/dev/null <<'EOF'
[boot]
systemd=true
[interop]
enabled=true
appendWindowsPath=true
[automount]
options = "metadata,umask=22,fmask=11"
EOF
Copied

Run wsl --shutdown in PowerShell, reopen the terminal, and check that ps -p 1 -o comm= prints systemd. Then install as on Linux:

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.bashrc
hermes
Copied

Keep ~/.hermes and your repositories on the Linux side, not under /mnt/c: the guide puts Windows-drive access at 10 to 100 times slower, with emulated permissions and unreliable file watching. Windows sees the Linux files at \\wsl.localhost\Ubuntu\. The rest of the Linux install, model sign-ins included, is in installing Hermes Agent.

The messaging gateway on Windows

The gateway is what answers you on Telegram, Discord, Slack and the other chat apps. hermes gateway setup walks through the platforms on either route. Out of the box, per the messaging docs, “the gateway denies all users who are not in an allowlist or paired via DM”: someone new who messages the bot gets a pairing code, which you approve with hermes pairing approve telegram <code>.

Natively, the background gateway is managed with:

hermes gateway install     # registers the logon task; asks for UAC once
hermes gateway status
hermes gateway start
hermes gateway stop
hermes gateway restart
hermes gateway uninstall
Copied

It is not a Windows service. hermes gateway install registers a Scheduled Task named Hermes_Gateway that runs at logon without elevation, and if Group Policy blocks schtasks, Hermes falls back to a hidden launcher in your Startup folder. The gateway is started detached through pythonw.exe, which has no console window. In WSL2, hermes gateway setup can install a systemd user unit instead, which starts with the WSL VM.

hermes gateway status tells you what to run next: “Gateway is not running” means nothing is installed (run install), and “No gateway process detected” means the task exists but is stopped (run start). Task Scheduler’s restart policy covers only the launcher, so a gateway killed from outside stays down until you start it again.

Keeping it running when you close the terminal or the lid

A gateway installed as above does not depend on the terminal you started it from. What it does depend on is your Windows session. The Windows page sums up the Scheduled Task as “log in → gateway available, log out → gateway gone,” and a PC that is asleep or hibernating runs nothing, so the bot goes quiet until the machine wakes. Nous documents no sleep or resume behaviour for the Windows gateway. If you want a real service that starts at boot, the docs point to creating one yourself with nssm or sc create; that still stops when the PC sleeps.

WSL2 adds a layer: “WSL’s VM only stays alive while something is using it.” The WSL2 guide keeps it up with a Task Scheduler task at logon whose program is C:\Windows\System32\wsl.exe and whose arguments are:

-d Ubuntu --exec /bin/sh -c "sleep infinity"
Copied

After sleep, “WSL2’s clock can lag by minutes after the host resumes,” which can break OAuth and HTTPS calls; sudo hwclock -s corrects it.

A laptop that sleeps is fine for working with Hermes at your desk. A bot that should answer at 3 a.m. needs a computer that is always on: a spare desktop set never to sleep, a small server, or a hosted option, compared in Hermes Agent hosting.

Docker Desktop: the Windows compose file

The repository ships a separate docker-compose.windows.yml. Docker Desktop on Windows does not support the host networking the Linux file uses, so this one maps ports instead and mounts ${USERPROFILE}/.hermes as the data folder (not the native install’s %LOCALAPPDATA%\hermes, so the two do not share config or sessions). Its dashboard port line is 127.0.0.1:9119:9119, which publishes the dashboard on your PC’s own loopback and nowhere else; changing it to 9119:9119 would offer the dashboard to your whole network. Start it from a clone of the repository with:

docker compose -f docker-compose.windows.yml up -d
Copied

One caution from reading it against the dashboard docs: its dashboard service binds 0.0.0.0 inside the container with --insecure. The dashboard docs say that flag is now ignored, that any bind other than loopback needs a username and password or OAuth provider configured, and that a non-interactive start such as Docker without one stops with an error beginning “Refusing to bind dashboard to 0.0.0.0”. If you see that, the fix is configuring a sign-in provider; keep the 127.0.0.1 publish either way. The details, and the rest of the Docker setup, are in running Hermes Agent with Docker. On Windows, a native install needs no Docker at all.

Common Windows errors

These are the ones Nous’s own docs name, plus one open bug in v0.23.4:

The open bug, as of November 27, 2026: sending /update to the bot from a chat app can fail on Windows with

✗ Failed to start update: [WinError 5] Access is denied
Copied

which the reporter traces to the gateway running inside a Windows job object that forbids the updater from breaking away (issue #160129, with a fix proposed). The reporter found the same update works from a shell, so run hermes update in PowerShell, or use the dashboard’s update button.

Updating and removing it on Windows

A source install updates with hermes update, release to release. The MSIX package updates from the app’s own Update control through Windows App Installer, and the Store version through the Store. If an update runs from inside Hermes Desktop, Windows locks the running app’s files and the rebuild is skipped: quit the app and run hermes desktop, or use Update now under Settings, About. Other update failures are in hermes update failed.

To remove a source install, preview first, then uninstall. The --full flag also deletes your data, which is permanent, so back up %LOCALAPPDATA%\hermes first if you want your sessions and keys:

hermes uninstall --dry-run
hermes uninstall
# Optional, and permanent: also deletes config, keys and sessions
hermes uninstall --full
Copied

A Store or MSIX install is removed in Settings, Apps, Installed apps; the CLI will not delete code the package owns.

Hermes installed on an always-on developer pod, which you run yourself.

A developer pod is a permanent cloud computer (VPS), set up and secured for you, with your pick of Claude Code, Codex, OpenCode, Pi, Hermes and OpenClaw installed. Run more agents at once than your laptop can hold, and keep them working when it’s closed. From $24 a month, built in about ten minutes.