Skip to content

axetroy/bin2

Repository files navigation

Build Status Go Report Card Latest Version License Repo Size

bin2

An online service that can help you easily install binary files.

It is mainly aimed at Golang, of course other types are also available.

I am tired of writing installation guide for so many cli.

I am trying to use this tool to solve it all at once

WIP:

  • Custom binary file template
  • Support different decompression formats
  • Testing

Usage

eg, I want to install the release file of https://github.com/axetroy/dvm

You need to run the following commands in your operating systems

Install binary for Linux/MacOS

curl https://bin2.herokuapp.com/v1/axetroy/dvm | bash

Install binary for Windows

iwr https://bin2.herokuapp.com/v1/axetroy/dvm -useb | iex

Query

query desc
v Specify version
bin Specify the name of the executable file
dir Specify the path of binary folder

How it works?

Depending on the URL you visit with different tools, different content will be returned.

In PowerShell, it returns the ps1 file, in Unix systems it returns to Shell

License

The MIT License

About

[WIP] Painlessly install various binary files on your system

Resources

License

Stars

Watchers

Forks

Releases

No releases published