Skip to content

Problem Using curl -Ssf https://pkgx.sh to Install pkgx #268

Description

@harrisg0

Hi. Just noticed this error when using an Ubuntu image ubuntu-2204:2024.01.2 and macOS 14.6. It looks like curl https://pkgx.sh returns a Windows script now? The Ubuntu command below worked for months, now it doesn't.

On Ubuntu

curl -fsS https://pkgx.sh | /bin/bash
/bin/bash: line 3: =: command not found
/bin/bash: line 6: =: command not found
/bin/bash: line 9: syntax error near unexpected token {' /bin/bash: line 9: if (!(Test-Path $installDir)) {'

On macOS

curl https://pkgx.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 892 100 892 0 0 6288 0 --:--:-- --:--:-- --:--:-- 6326
sh: line 3: =: command not found
sh: line 6: =: command not found
sh: line 9: syntax error near unexpected token {' sh: line 9: if (!(Test-Path $installDir)) {'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions