Skip to content

Commit 5da646f

Browse files
committed
doc: install from binary
1 parent c859dcc commit 5da646f

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,24 @@ a private API URL with `--apiurl`.
4141

4242
## Installation
4343

44-
To install this tool, make sure you have `go 1.13.x` (or later) and `make`
45-
installed and run the following commands:
44+
The easiest way to install `chantools` is to [download a pre-built binary for
45+
your operating system and architecture](https://github.com/guggero/chantools/releases).
46+
47+
Example (make sure you always use the latest version!):
48+
49+
```shell
50+
$ cd /tmp
51+
$ wget -O chantools.tar.gz https://github.com/guggero/chantools/releases/download/v0.7.1/chantools-linux-amd64-v0.7.1.tar.gz
52+
$ tar -zxvf chantools.tar.gz
53+
$ sudo mv chantools-*/chantools /usr/local/bin/
54+
```
55+
56+
### Compile from source
57+
58+
If there isn't a pre-built binary for your operating system or architecture
59+
available or you want to build `chantools` from source for another reason, you
60+
need to make sure you have `go 1.13.x` (or later) and `make` installed and can
61+
then run the following commands:
4662

4763
```bash
4864
git clone https://github.com/guggero/chantools.git

0 commit comments

Comments
 (0)