Skip to content

v1.36.6

Choose a tag to compare

@Alan-TheGentleman Alan-TheGentleman released this 06 Jun 16:38
1ddf8a3

gentle-ai v1.36.6 — Windows one-liner installer fixed

Restores the documented irm | iex install path on Windows PowerShell.

What changed

  • scripts/install.ps1 is now irm | iex-compatible — top-level [CmdletBinding()] / param() blocks are only valid when PowerShell parses the file as a script. Running the documented one-liner on Windows PowerShell 5.1 threw Atributo 'CmdletBinding' inesperado / Token 'param' inesperado and aborted before any download. Moved the parameters onto the Main function and splat $args into it, so both invocations keep working:

    # one-liner
    irm https://raw.githubusercontent.com/Gentleman-Programming/gentle-ai/main/scripts/install.ps1 | iex
    
    # script file with flags (unchanged)
    .\install.ps1 -Method binary -Insecure