-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #535 from rodrigc/go-install-docs
Add docs for installing via `go install`
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|