Skip to content

Commit

Permalink
Mention runtime deps for static binary
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 20, 2020
1 parent 0955f09 commit 5715f83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions guide/install-static.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Static binary

Linux and Windows (WSL2) users can get the static binary [here][staticbin]. If you choose to use the static binary instead of installing through Nix (see [[install]]), note the following:

- You will have to *manually* install the runtime dependencies such as `fzf`, `bat`, `envsubst`, etc. yourself.
- The static binary corresponds to the last stable release, which generally lags behind the development version (which the Nix install method at [[install]] uses).

[staticbin]: https://github.com/srid/neuron/releases/download/1.0.1.0/neuron-1.0.1.0-linux.tar.gz
6 changes: 3 additions & 3 deletions guide/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ OS-specific notes
:::

* If you are on **Windows**, you should begin by [installing Ubuntu on WSL 2](https://docs.microsoft.com/en-us/windows/wsl/install-win10) (not WSL 1), before installing Nix on it.
* Alternatively, you can simply download the static binary of the last stable release [here][staticbin].
* If you are on **macOS Catalina or later**, refer to the [macOS Installation](https://nixos.org/manual/nix/stable/#sect-macos-installation) section of the Nix manual on how to install Nix.
* If you are on **Linux**, and do not wish to install Nix, you may download the Linux static binary [here][staticbin]. Note that the static binary corresponds to the last stable release, which generally lags behind the development version (which the Nix install method uses).

If you do not wish to install Nix, try the [[[docker]]] or, if you are on Linux or WSL, use the [[[install-static]]].
:::

[staticbin]: https://github.com/srid/neuron/releases/download/1.0.1.0/neuron-1.0.1.0-linux.tar.gz
Expand Down Expand Up @@ -80,4 +80,4 @@ Available commands:
Proceed to the [[tutorial]].
[^nix]: Nix is a general package manager that you can use to manage other software and services as well. [See here](https://github.com/srid/neuron/issues/193#issuecomment-629557917). If you do not wish to install Nix, try the [[[docker]]].
[^nix]: Nix is a general package manager that you can use to manage other software and services as well. [See here](https://github.com/srid/neuron/issues/193#issuecomment-629557917).

0 comments on commit 5715f83

Please sign in to comment.