From cd01738cfde9af3ec1ffdd11a1c18f65827f3728 Mon Sep 17 00:00:00 2001 From: Harry Zheng Date: Mon, 29 Mar 2021 02:33:34 +0800 Subject: [PATCH] Update installation guide --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d2ada5..486f691 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,35 @@ A CLI tool that checks all your apps for their Apple Silicon support. ## Installation +### go install + ```go -go get github.com/harryzcy/ascheck +go install github.com/harryzcy/ascheck +``` + +### Compile from source + +#### clone + +```shell +git clone https://github.com/harryzheng/ascheck +cd ascheck +``` + +#### get the dependencies + +```shell +go mod tidy +``` + +#### build + +```shell +go build -o ascheck . +``` + +#### run + +```shell +./ascheck ```