From 0688442f5d38edef042fba2a3306b70267b1c2d7 Mon Sep 17 00:00:00 2001 From: niqdev Date: Tue, 24 Oct 2023 22:25:51 +0100 Subject: [PATCH] update docs --- .goreleaser.yaml | 2 +- README.md | 159 +++++++++++++++++++++++------------------------ 2 files changed, 78 insertions(+), 83 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1b8fc06..f2e8beb 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -43,7 +43,7 @@ checksum: brews: - name: hckctl - tap: + repository: owner: hckops name: homebrew-tap commit_author: diff --git a/README.md b/README.md index 1a98506..cbaac43 100644 --- a/README.md +++ b/README.md @@ -255,20 +255,16 @@ Follow the official [instructions](https://podman.io/docs/installation) to insta ## Setup -Download the latest binaries +### Linux + ```bash # latest release HCKCTL_VERSION=$(curl -sS https://api.github.com/repos/hckops/hckctl/releases/latest | jq -r .name | sed 's/v//') -# install or update (linux) +# install or update curl -sSL https://github.com/hckops/hckctl/releases/latest/download/hckctl-${HCKCTL_VERSION}-linux-x86_64.tar.gz | \ sudo tar -xzf - -C /usr/local/bin -# install (macos) -brew install hckops/tap/hckctl -# update -brew upgrade hckctl - # verify hckctl version @@ -276,6 +272,18 @@ hckctl version sudo rm /usr/local/bin/hckctl ``` +### MacOS + +* [Homebrew](https://brew.sh) + +```bash +# install +brew install hckops/tap/hckctl + +# update +brew upgrade hckctl +``` + ## Development * [just](https://github.com/casey/just) @@ -321,121 +329,108 @@ Credit should go to all the authors and maintainers for their open source tools,