Skip to content

[Bug]: One Line Install not working #27397

@bhattkunalb

Description

@bhattkunalb

Bug Description

PS C:\windows\system32> irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex
iex : At line:18 char:23

  • [string]$Branch = "main",
    
  •                   ~~~~~~
    

The assignment expression is not valid. The input to an assignment operator must be an object that is able to
accept assignments, such as a variable or a property.
At line:19 char:27

  • [string]$HermesHome = "$env:LOCALAPPDATA\hermes",
    
  •                       ~~~~~~~~~~~~~~~~~~~~~~~~~~
    

The assignment expression is not valid. The input to an assignment operator must be an object that is able to
accept assignments, such as a variable or a property.
At line:1 char:92

  • ... rcontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex
  •                                                                   ~~~
    
    • CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException
    • FullyQualifiedErrorId : InvalidLeftHandSide,Microsoft.PowerShell.Commands.InvokeExpressionCommand

Steps to Reproduce

use Windows one line installer: irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex
in powershell
Run as Admin

Expected Behavior

Should have installed Hermes Agent

Actual Behavior

did not install Hermes Agent

Affected Component

Configuration (config.yaml, .env, hermes setup)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Bug Before Install

Operating System

Windows 11

Python Version

3.14.5

Hermes Version

NA

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/configConfig system, migrations, profilescomp/cliCLI entry point, hermes_cli/, setup wizardtype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions