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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-interactive version? #5

Open
indigoviolet opened this issue Feb 18, 2023 · 5 comments
Open

Non-interactive version? #5

indigoviolet opened this issue Feb 18, 2023 · 5 comments

Comments

@indigoviolet
Copy link

Would be nice to have a non-interactive version for shell scripts

@iainelder
Copy link

By default:

  • choose the latest release
  • extract all executable files
  • install to $HOME/bin

@redraw
Copy link
Owner

redraw commented May 23, 2023

Hey! yeah, that would be nice, I'll take a look

@iainelder currently it saves to ~/.local/bin, but it can be overriden by setting the GH_BINPATH env.
Might also think about moving all executable files.

@iainelder
Copy link

That install location is fine and even better that there is an environment variable to control it.

I've tried a few other install-from-Github tools such as Rishang's install-release and Jooola's gh-release-install. Each has its pros and cons.

I'd be happy to try what you come up with if you want to give us another option :-)

@redraw
Copy link
Owner

redraw commented May 26, 2023

Meanwhile, you could give a try to binenv, looks promising and more complete. It knows how to install a lot of popular projects, and I guess you can extend the $HOME/.config/binenv/distributions.yaml file if you need another one

@iainelder
Copy link

Nice, didn't know about binenv! This looks like a more general tool as well as mainly supporting binaries from Github Releases.

Reminds me of deb-get for Apt packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants