Skip to content

Commit e128d43

Browse files
add "go install" command to readme
1 parent 947dc92 commit e128d43

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,16 @@ _Note: Support for other Linux distributions is tracked in [#119](https://github
233233

234234
Download pre-compiled binaries for Linux, macOS or Windows from the [releases page](https://github.com/JohannesKaufmann/html-to-markdown/releases). Extract the archive and copy the executable to a location in your system PATH (e.g. `/usr/local/bin`).
235235

236+
#### Installation via Go
237+
238+
If you have Go installed, you can install the CLI directly using:
239+
240+
```bash
241+
go install github.com/JohannesKaufmann/html-to-markdown/v2/cli/html2markdown@latest
242+
```
243+
244+
This will download the source code and compile it into an executable in your Go binary directory (typically `$GOPATH/bin`).
245+
236246
#### Build from Source
237247

238248
Binaries are automatically built via [GoReleaser](https://goreleaser.com/) and attached to each [release](https://github.com/JohannesKaufmann/html-to-markdown/releases).

0 commit comments

Comments
 (0)