Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install pwsh #814

Open
2 of 6 tasks
virzak opened this issue Feb 19, 2024 · 1 comment 路 Fixed by #815
Open
2 of 6 tasks

Can't install pwsh #814

virzak opened this issue Feb 19, 2024 · 1 comment 路 Fixed by #815
Labels
bug Something isn't working

Comments

@virzak
Copy link
Contributor

virzak commented Feb 19, 2024

What were you trying to install (or what else went wrong)?

pwsh

What exactly did you do?

curl -sS https://webi.sh/pwsh@7.4.1 | sh

What went wrong?

You should be able to run the same using docker if you don't have podman

馃殌  podman run --rm catthehacker/ubuntu:act-latest sh -c "curl -sS https://webi.sh/pwsh@7.4.1 | sh"


>>> Welcome to Webi! - modern tools, instant installs.  <<<
    We expect your experience to be absolutely perfect!

    Success? Star it!   https://github.com/webinstall/webi-installers
    Problem? Report it: https://github.com/webinstall/webi-installers/issues
                        (your system is GNU/Linux/x86_64 with libc & curl+wget)

Bootstrapping Webi
    Downloading https://webi.sh/packages/webi/webi.sh
        to ~/.local/bin/webi
    Running ~/.local/bin/webi pwsh@7.4.1

Installing pwsh ...
    Found  ~/.local/bin
    Downloading pwsh from
      https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell-7.4.1-linux-x64.tar.gz
    Saved as ~/Downloads/webi/pwsh/7.4.1/powershell-7.4.1-linux-x64.tar.gz
    Extracting ~/Downloads/webi/pwsh/7.4.1/powershell-7.4.1-linux-x64.tar.gz
    Installing to ~/.local/opt/pwsh-v7.4.1/pwsh
    Initializing ~/.config/envman/
    Edit ~/.profile to source ~/.config/envman/load.sh
    Edit ~/.bashrc to source ~/.config/envman/load.sh
Installed 'pwsh' at /root/.local/opt/pwsh
pwsh@7.4.1-install.sh: 470: pwsh: not found

Which OS did you try on?

  • Mac
  • Windows
  • Linux

What type of computer (i.e. laptop, desktop, Raspberry Pi)?

  • Laptop or Desktop (amd64 / x86-64)
  • Raspberry Pi (ARM-64)
  • Other (please specify, if you know)

Possible explanation

Since pwsh is not in $PATH yet, it needs to be called fully qualified.

@coolaj86
Copy link
Member

I think that the package format changed between 7.3 and 7.4.

That's the worst, because I really don't want to have conditionals between installer versions.

People just don't treat Releases like an API.

@coolaj86 coolaj86 reopened this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants