summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2016-01-17 16:59:43 -0600
committerTristan Sloughter <t@crashfast.com>2016-01-17 17:00:21 -0600
commitc9213a08be158337f4ec13452821033d915b04e6 (patch)
treebb34be3b224574515618fa1cf7f6a3d46c802dde
parent505576cb6ab3abaad2706e5641b19b13d8114156 (diff)
add unstable install/upgrade instructions to readme
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 65f9284..843c4cb 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,18 @@ $ ./bootstrap
Stable versions can be obtained from the [releases page](https://github.com/rebar/rebar3/releases).
+The rebar3 escript can also extract itself with a run script under the user's home directory:
+
+```bash
+$ ./rebar3 unstable install
+===> Extracting rebar3 libs to ~/.cache/rebar3/lib...
+===> Writing rebar3 run script ~/.cache/rebar3/bin/rebar3...
+===> Add to $PATH for use: export PATH=$PATH:~/.cache/rebar3/bin
+```
+
+To keep it up to date after you've installed rebar3 this way you can use `rebar3 unstable upgrade` which
+fetches the latest nightly and extracts to the same place as above.
+
Rebar3 may also be available on various OS-specific package managers such as
FreeBSD Ports. Those are maintained by the community and Rebar3 maintainers
themselves are generally not involved in that process.