diff --git a/README.md b/README.md index 1a512ee..b960c0b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Inspired by [herloct/url-parser](https://github.com/herloct/url-parser), a simple command-line utility for parsing URLs. -## Instalation +## Installation Prebuild multiarch binaries are availabe for Linux only: @@ -18,6 +18,19 @@ chmod +x /usr/local/bin/url-parser url-parser --help ``` +## Build + +Build the binary from source with the following command: + +```Shell +export GOOS=linux +export GOARCH=amd64 +export CGO_ENABLED=0 +export GO111MODULE=on + +go build -v -a -tags netgo -o release/url-parser ./cmd/url-parser/ +``` + ## Usage ```Shell