Open the package file you downloaded and follow the prompts to install Go.
The package installs the Go distribution to /usr/local/go. The package should put the /usr/local/go/bin directory in your PATH environment variable.
Verify that you've installed Go by opening a command prompt and typing the following command:
go version
Confirm that the command prints the installed version of Go.
git clone https://github.com/iancleary/heictojpeg heictojpeg && cd heictojpeg && go build
Simply place it in a directory with .heic files, and on execution, it will save the converted .jpg images in a "jpegs" subfolder.
It's written with concurrency and multi-threading for optimized performance.
go build