Skip to content

Commit

Permalink
Merge pull request #11 from lidizheng/correct-readme-install
Browse files Browse the repository at this point in the history
Correct the installation command for Go 1.15
  • Loading branch information
lidizheng authored Sep 22, 2021
2 parents 8e7906f + 27f6c2a commit 27e93d1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Use "grpcdebug <target address> [command] --help" for more information about a
- [grpcdebug](#grpcdebug)
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Use Compiled Binaries](#use-compiled-binaries)
- [Compile From Source](#compile-from-source)
- [Quick Start](#quick-start)
- [Connect & Security](#connect--security)
- [Insecure Connection](#insecure-connection)
Expand All @@ -67,13 +69,30 @@ Use "grpcdebug <target address> [command] --help" for more information about a

## Installation

### Use Compiled Binaries

The download links of the binaries can be found at
https://github.com/grpc-ecosystem/grpcdebug/releases. You can find the
precompiled artifacts for `macOS`/`Linux`/`Windows`.

### Compile From Source

Minimum Golang Version 1.15. Official Golang install guide:
https://golang.org/doc/install.

You can install the `grpcdebug` tool using command:

```shell
# For Golang 1.16+
go install -v github.com/grpc-ecosystem/grpcdebug@latest
# For Golang 1.15
GO111MODULE=on go get -v github.com/grpc-ecosystem/grpcdebug
```

You can check your Golang version with:

```shell
go version
```

Don't forget to add Golang binaries to your `PATH`:
Expand Down

0 comments on commit 27e93d1

Please sign in to comment.