How to install Hermes agent on Windows

What you end up with

Hermes agent installed like any other app on your Windows PC. It is free, and it stays free — there is no account, no trial and no subscription at the end of this.

Time
About 25 minutes
Steps
12
Cost
Free

Before you start

These are one-time installs. If you have used PowerShell before, you may have them already — the first step checks.

  1. Install Git

    Run the installer, then reopen PowerShell.

    Open installer

    You know this worked when: Git responds with a version number

  2. Install Node LTS

    Run the LTS installer, then reopen PowerShell.

    Open download

    You know this worked when: Node responds with a version number

Install Hermes agent

  1. Open PowerShell

    Keep it open beside this page.

    You know this worked when: PowerShell is open

  2. Check Git and Node

    Git and the current Node LTS are required.

    Type this into PowerShell, then press Enter.

    git --version
    node --version

    You know this worked when: Git and Node respond with version numbers

  3. Install Python

    Run the installer, then reopen PowerShell.

    Open download

    You know this worked when: python3 --version prints a version

  4. Install Docker Desktop

    Open it once so the engine starts, then come back here.

    Open download

    You know this worked when: docker --version prints a version

  5. Copy Hermes agent to this PC

    Type this into PowerShell, then press Enter.

    cd ~
    if [ ! -d hermes-agent/.git ]; then
    git clone https://github.com/nousresearch/hermes-agent.git
    fi

    You know this worked when: A hermes-agent folder appears

  6. Open the Hermes agent folder

    Type this into PowerShell, then press Enter.

    cd hermes-agent

    You know this worked when: Your terminal prompt is inside the hermes-agent folder

  7. Use the reviewed version

    Type this into PowerShell, then press Enter.

    git checkout fe0a56ed16bb13122781c3a296c0fe7a79f3895f

    You know this worked when: Git reports the reviewed commit

  8. Install dependencies

    Type this into PowerShell, then press Enter.

    npm.cmd install

    You know this worked when: The command finishes without an error

  9. Try Hermes agent

    Keep PowerShell open.

    Type this into PowerShell, then press Enter.

    npm.cmd run postinstall

    You know this worked when: Hermes agent opens

  10. Try it

    Hermes agent should be open and ready to use.

    You know this worked when: Hermes agent works

If something goes wrong

Nothing here can damage your computer, and every step can be run again safely. If a command fails, the usual cause is the step before it not having finished.

Still stuck? Tell us what happened and we will fix the guide. Include the step number and we can usually reproduce it.

Have a different setup?