Skip to content

Commit 63989b8

Browse files
committed
Add Build from source section to installation docs
1 parent 206363a commit 63989b8

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

docs/docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ title: Changelog
99
* `[Fixed]` Prevent `lets self upgrade` from overwriting Homebrew-managed installs. Issue [#338](https://github.com/lets-cli/lets/issues/338)
1010
* `[Fixed]` `lets self upgrade` now updates symlink targets and refuses common system-managed install paths.
1111
* `[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.
1213

1314
## [0.0.60](https://github.com/lets-cli/lets/releases/tag/v0.0.60)
1415

docs/docs/installation.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,22 @@ Once downloaded, the binary can be run from anywhere.
7878

7979
Ideally, install it somewhere in your user `PATH`, such as `$HOME/.local/bin`.
8080

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+
8197
## GitHub Action
8298

8399
Use [lets-cli/lets-action](https://github.com/lets-cli/lets-action) in a GitHub Actions workflow:

0 commit comments

Comments
 (0)