Skip to content

Commit

Permalink
Merge pull request #535 from rodrigc/go-install-docs
Browse files Browse the repository at this point in the history
Add docs for installing via `go install`
  • Loading branch information
ripienaar authored Jul 21, 2022
2 parents dc9202e + 8c7d0e5 commit 97fd6d8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,40 @@ and support full JetStream management.
Releases are [published to GitHub](https://github.com/nats-io/natscli/releases/) where zip, rpm and debs for various
operating systems can be found.

#### Installation via go install

The nats cli can be installed directly via `go install`.
To install the latest version:

```
go install github.com/nats-io/natscli/nats@latest
```

To install a specific release:

```
go install github.com/nats-io/natscli/[email protected]
```

#### OS X installation via Homebrew

For OS X `brew` can be used to install the latest version:

```nohighlight
brew tap nats-io/nats-tools
brew install nats-io/nats-tools/nats
```

#### Arch Linux installation via yay

For Arch users there is an [AUR package](https://aur.archlinux.org/packages/natscli/) that you can install with:

```
yay natscli
```

#### Nightly docker images

Nightly builds are included in the `synadia/nats-server:nightly` Docker images.

### Configuration Contexts
Expand Down

0 comments on commit 97fd6d8

Please sign in to comment.