marcosnils / bin

Effortless binary manager
MIT License
640 stars 44 forks source link

Downloading from plain https URL #154

Open xnuk opened 1 year ago

xnuk commented 1 year ago
$ ./bin install https://github.com/denoland/deno/releases/download/v1.30.2/deno-x86_64-unknown-linux-gnu.zip
   • Getting v1.30.2/deno-x86_64-unknown-linux-gnu.zip release for denoland/deno
   ⨯ command failed            error=GET https://api.github.com/repos/denoland/deno/releases/tags/v1.30.2/deno-x86_64-unknown-linux-gnu.zip: 404 Not Found []
$ ./bin install https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.5.tgz
   ⨯ command failed            error=Can't find provider for url https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.5.tgz
$ ./bin install https://geo.mirror.pkgbuild.com/community/os/x86_64/caddy-2.6.2-1-x86_64.pkg.tar.zst
   ⨯ command failed            error=Can't find provider for url https://geo.mirror.pkgbuild.com/community/os/x86_64/caddy-2.6.2-1-x86_64.pkg.tar.zst

This is my first time using this, but I don't think I know how to use this yet.

marcosnils commented 1 year ago

Try with bin install GitHub.com/denoland/deno

sent from mobile

Em sex., 3 de fev. de 2023 22:15, 즈눅 @.***> escreveu:

$ ./bin install https://github.com/denoland/deno/releases/download/v1.30.2/deno-x86_64-unknown-linux-gnu.zip

• Getting v1.30.2/deno-x86_64-unknown-linux-gnu.zip release for denoland/deno

⨯ command failed error=GET https://api.github.com/repos/denoland/deno/releases/tags/v1.30.2/deno-x86_64-unknown-linux-gnu.zip: 404 Not Found []

$ ./bin install @.***/linux-x64/-/linux-x64-0.17.5.tgz

⨯ command failed error=Can't find provider for url @.***/linux-x64/-/linux-x64-0.17.5.tgz

$ ./bin install https://geo.mirror.pkgbuild.com/community/os/x86_64/caddy-2.6.2-1-x86_64.pkg.tar.zst

⨯ command failed error=Can't find provider for url https://geo.mirror.pkgbuild.com/community/os/x86_64/caddy-2.6.2-1-x86_64.pkg.tar.zst

This is my first time using this, but I don't think I know how to use this yet.

— Reply to this email directly, view it on GitHub https://github.com/marcosnils/bin/issues/154, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMBLWXDR2WKVDHIXM36GCLWVWUTZANCNFSM6AAAAAAUQ3MNQM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dfang commented 10 months ago

deno is language runtime like go or python, I think the best practice is to use rtx or asdf manage them.