How to install github released binary?

It depends on your use case.

  • If you expect your users to already have Nix installed, I would recommend using nix-store --export to create a .nar file and nix-store --import to import and nix-env -i /nix/store/path to install the resulting path.
  • If your users will not have Nix installed, you can package it with nix-bundle: