From b017a6043c6a0c6c023a7f29a5deaa8c33684c83 Mon Sep 17 00:00:00 2001 From: Leo Robinovitch Date: Sun, 26 Jun 2022 14:02:36 -0700 Subject: [PATCH] README for goreleases install sources --- README.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cf57279c..545caad1 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,28 @@ active development. Expect near term improvements. Feature requests in the form ## Installation -With [Go installed on your machine](https://go.dev/doc/install), install `wander` with +### homebrew + +```shell +brew install robinovitch61/tap/wander +```` + +### using [go installed on your machine](https://go.dev/doc/install) ```shell go install github.com/robinovitch61/wander@latest ``` -Alternatively, clone this repo, build from source with `cd && go build` -, then move the binary to somewhere accessible in your `PATH`, e.g. `mv ./wander /usr/local/bin`. +### download from github + +Download the relevant asset for your operating system from +the [latest Github release](https://github.com/robinovitch61/wander/releases). Unpack it, then move the binary to +somewhere accessible in your `PATH`, e.g. `mv ./wander /usr/local/bin`. + +### build from source + +Clone this repo, build from source with `cd && go build`, +then move the binary to somewhere accessible in your `PATH`, e.g. `mv ./wander /usr/local/bin`. ## Usage @@ -73,7 +87,8 @@ NOMAD_ADDR=http://localhost:4646 NOMAD_TOKEN="blank" wander such that anyone on the internal network can `ssh -p ` and immediately access `wander` without installing or configuring anything. -Optionally, users can pass in their own nomad token with `ssh -p -t `. The `-t` argument does not stand for +Optionally, users can pass in their own nomad token with `ssh -p -t `. The `-t` argument does not +stand for token - it forces `ssh` to allocate a pty. Serve the ssh app with `wander serve`.