Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 12f126a

Browse files
author
Sameer Naik
authored
Merge pull request #96 from triggermesh/docs-tm
update install instructions for tm
2 parents 9d590f5 + 7de6196 commit 12f126a

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

docs/tm/install.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
## Installation
1+
# Installation
22

3-
There are three ways to get `tm`:
3+
The `tm` binary can be installed from pre-built binary releases or can be built directly from source.
44

5-
### With Go
5+
### From binary releases
66

7-
With a working [Golang](https://golang.org/doc/install) environment do:
7+
Releases are available for 64-bit versions of Linux, macOS and Windows platforms.
88

9-
```
10-
go get github.com/triggermesh/tm
11-
```
9+
1. Download the desired version from the [releases](https://github.com/triggermesh/tm/releases) page.
10+
2. Move it to its desired destination (`mv tm-linux-amd64 /usr/local/bin/tm`)
11+
3. Make it executable `chmod +x /usr/local/bin/tm`
1212

13-
### A Release
14-
Head to the GitHub [release page](https://github.com/triggermesh/tm/releases) and download a release.
13+
### From Homebrew (macOS and Linux)
1514

16-
### Brew on OSX
17-
On OSX use the TriggerMesh tap
18-
19-
```
20-
brew tap triggermesh/tap
15+
```bash
2116
brew install tm
22-
which tm
2317
```
2418

19+
### From source (Linux / macOS)
20+
21+
To build the `tm` binary from source you need the [Go](https://golang.org/doc/install) compiler toolchain.
22+
23+
```bash
24+
go get github.com/triggermesh/tm
25+
```

0 commit comments

Comments
 (0)