# How to install github released binary?

**URL:** https://discourse.nixos.org/t/how-to-install-github-released-binary/1328
**Category:** Help
**Created:** [October 31, 2018, 6:47pm UTC](https://discourse.nixos.org/t/how-to-install-github-released-binary/1328 "2018-10-31T18:47:45Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![matthewbauer](https://discourse.nixos.org/user_avatar/discourse.nixos.org/matthewbauer/32/31_2.png) [@matthewbauer](https://discourse.nixos.org/u/matthewbauer)
#### Post date: [October 31, 2018, 8:48pm UTC](https://discourse.nixos.org/t/how-to-install-github-released-binary/1328/3 "2018-10-31T20:48:36Z")

</div>

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:

> **[GitHub - matthewbauer/nix-bundle: Bundle Nix derivations to run anywhere!](https://github.com/matthewbauer/nix-bundle)**
>
> Bundle Nix derivations to run anywhere! Contribute to matthewbauer/nix-bundle development by creating an account on GitHub.

---

_[View the full topic](https://discourse.nixos.org/t/how-to-install-github-released-binary/1328)._
