Skip to content

One line installer script not working in git-bash nor in power-shell #1797

@hohwille

Description

@hohwille

Actual behavior

I tested the one-line installer (see #1795) in git-bash and got this error:

Error: Unsupported operating system: MINGW64_NT-10.0-26200. Use the PowerShell installer on Windows.

I then reran the same command in PowerShell and got this error:

Invoke-WebRequest : A parameter cannot be found that matches parameter name 'fsSL'.
At line:1 char:17
+ bash -c "$(curl -fsSL https://raw.githubusercontent.com/devonfw/IDEas ...
+                 ~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

<3>WSL (9 - Relay) ERROR: CreateProcessCommon:798: execvpe(/bin/bash) failed: No such file or directory

Reproduce

bash -c "$(curl -fsSL https://raw.githubusercontent.com/devonfw/IDEasy/main/install.sh)"

Expected behavior

The benefit of the new "one line installer" script should be to simplify the installation of IDEasy.
Therefore, it should just work and not cause such complications.

IDEasy status

not applicable (tested with 2026.04.001)

Related/Dependent issues

#1795

Comments/Hints

To properly detect OS in bash see our old code from devonfw-ide:
https://github.com/devonfw/ide/blob/855ce79d795860416f73634397ea9a535c27a68c/scripts/src/main/resources/scripts/functions#L1776-L1790

Metadata

Metadata

Assignees

Labels

PowerShellWindows PowerShell integration and supportbashbash, zsh, git-bash (integration, scripts)installinstallation process of IDE + tools and install commandletready-to-implementwindowsspecific for Microsoft Windows OS

Type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions