webinstall / webi-installers

Primary and community-submitted packages for webinstall.dev
https://webinstall.dev
Mozilla Public License 2.0
1.88k stars 202 forks source link

Instructions to `source ~/.config/envman/PATH.env` are not prominent enough #860

Open Danjoe4 opened 2 months ago

Danjoe4 commented 2 months ago

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

jq

What exactly did you do?

curl -sS https://webi.sh/jq | sh

What went wrong?

jq is not added to path

Which OS did you try on?

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

more info

system is GNU/Linux/x86_64 with libc & curl+wget

when running the command again:

    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
    Found ~/.local/bin/webi
    Running ~/.local/bin/webi jq@stable

Installing jq ...
    Found  ~/.local/bin
    'jq v1.7.1' already installed:
    ~/.local/bin/jq => ~/.local/opt/jq-v1.7.1/bin/jq
coolaj86 commented 2 months ago

Hey @Danjoe4,

During the first install you would have been instructed to source ~/.config/envman/PATH.env or to close and reopen your terminal (or, in the case of zsh, it must be sourced because zsh has shared login sessions).

That instruction only appears one time, because it is added to the PATH in such a way that future invocations of the script will detect it as present and not show the message again.

I do have planned to add this to the webpage as well.