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
*`[Fixed]``lets self upgrade` now updates symlink targets and refuses common system-managed install paths.
11
11
*`[Fixed]` Replace the released `go.mod` docopt override with a direct fork dependency so `go install github.com/lets-cli/lets/cmd/lets@version` works again.
12
+
*`[Docs]` Add a `Build from source` section to the installation guide with `go install` examples.
Copy file name to clipboardExpand all lines: docs/docs/installation.mdx
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,22 @@ Once downloaded, the binary can be run from anywhere.
78
78
79
79
Ideally, install it somewhere in your user `PATH`, such as `$HOME/.local/bin`.
80
80
81
+
## Build from source
82
+
83
+
Ensure you have a supported version of Go installed and configured. You can find the minimum required Go version in the project's [`go.mod`](https://github.com/lets-cli/lets/blob/master/go.mod).
84
+
85
+
You can install the latest release globally with:
86
+
87
+
```bash
88
+
go install github.com/lets-cli/lets/cmd/lets@latest
89
+
```
90
+
91
+
Or install it into another directory:
92
+
93
+
```bash
94
+
env GOBIN=$HOME/.local/bin go install github.com/lets-cli/lets/cmd/lets@latest
95
+
```
96
+
81
97
## GitHub Action
82
98
83
99
Use [lets-cli/lets-action](https://github.com/lets-cli/lets-action) in a GitHub Actions workflow:
0 commit comments