File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ You can download the binary for your platform from [Releases](https://github.com
5959Example:
6060
6161``` shell
62- HPTS_RELEASE=v1.4.1; wget -v https://github.com/shadowy-pycoder/go-http-proxy-to-socks/releases/download/$HPTS_RELEASE /gohpts-$HPTS_RELEASE -linux-amd64.tar.gz -O gohpts && tar xvzf gohpts && mv -f gohpts-$HPTS_RELEASE -linux-amd64 gohpts && gohpts -h
62+ HPTS_RELEASE=v1.4.1; wget -v https://github.com/shadowy-pycoder/go-http-proxy-to-socks/releases/download/$HPTS_RELEASE /gohpts-$HPTS_RELEASE -linux-amd64.tar.gz -O gohpts && tar xvzf gohpts && mv -f gohpts-$HPTS_RELEASE -linux-amd64 gohpts && ./ gohpts -h
6363```
6464
6565Alternatively, you can install it using ` go install ` command (requires Go [ 1.24] ( https://go.dev/doc/install ) or later):
6666
6767``` shell
68- go install -ldflags " -s -w" -trimpath github.com/shadowy-pycoder/go-http-proxy-to-socks/cmd/gohpts@latest
68+ CGO_ENABLED=0 go install -ldflags " -s -w" -trimpath github.com/shadowy-pycoder/go-http-proxy-to-socks/cmd/gohpts@latest
6969```
7070
7171This will install the ` gohpts ` binary to your ` $GOPATH/bin ` directory.
You can’t perform that action at this time.
0 commit comments