You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These instructions are for testing a version that has not yet been officially released, for example directly from a pull request or a specific commit. Go >= 1.25 must be installed on your machine.
30
+
31
+
### Install
32
+
33
+
1. Install `c8y` from a specific commit (replace the commit hash with the one you want to test)
34
+
35
+
```sh
36
+
go install github.com/reubenmiller/go-c8y-cli/v2/cmd/c8y@<commit-or-branch>
37
+
```
38
+
39
+
For example, to install from a specific commit:
40
+
41
+
```sh
42
+
go install github.com/reubenmiller/go-c8y-cli/v2/cmd/c8y@7aace7646dfcb7c2a632da85e869daf99c749b90
43
+
```
44
+
45
+
2. Make sure the Go binary path is on your `PATH` and takes precedence over any existing `c8y` installation
46
+
47
+
```sh
48
+
export PATH="$(go env GOPATH)/bin:$PATH"
49
+
hash -r
50
+
```
51
+
52
+
3. Verify the binary is the expected version
53
+
54
+
```sh
55
+
c8y version
56
+
```
57
+
58
+
4. Try it out (note: tab completion won't work when using the `set-session` helper)
59
+
60
+
```sh
61
+
# Option 1: Use an explicit host (no session file required)
0 commit comments