From bebcc2d4a2660d5f7d91f0ac0863199a1a8577b7 Mon Sep 17 00:00:00 2001 From: Tony Owens Date: Mon, 3 Oct 2022 22:34:28 -0700 Subject: [PATCH] Updating readme with sh script for macOS and new version info --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2b62d45..03c40f8 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ We all know storing secrets in plain text can pose major security threats, and T ## Windows Install via Chocolatey The fastest way to install `terracreds` on Windows is via our Chocolatey package: ```powershell -choco install terracreds --version "2.1.0" -y +choco install terracreds -y ``` Once installed run the following command to verify `terracreds` was installed properly: @@ -65,21 +65,27 @@ terracreds -v To upgrade `terracreds` to the latest version with Chocolatey run the the following command: ```powershell -choco upgrade terracreds --version "2.1.0" -y +choco upgrade terracreds -y ``` ## macOS Install -We are currently working on a `homebrew` package, however, to install the package simply download our latest release from this repository, -extract the package, and then place it in a directory available on `$HOME`. +We are currently working on a `homebrew` package, however, you can leverage this shell script to install `terracreds` + +```sh +curl https://github.com/tonedefdev/terracreds/releases/download/v2.1.2/terracreds_2.1.2_darwin_amd64.tar.gz -o terracreds_2.1.2_darwin_amd64.tar.gz && \ +tar -xvf terracreds_2.1.2_darwin_amd64.tar.gz && \ +sudo mv -f terracreds /usr/bin/terracreds && \ +rm -f terracreds_2.1.2_darwin_amd64.tar.gz README.md +``` ## Linux Install You'll need to download the latest binary from our release page and place it anywhere on `$PATH` of your system. You can also copy and run the following commands: ```bash -wget https://github.com/tonedefdev/terracreds/releases/download/v2.1.0/terracreds_2.1.0_linux_amd64.tar.gz && \ -tar -xvf terracreds_2.1.0_linux_amd64.tar.gz && \ +wget https://github.com/tonedefdev/terracreds/releases/download/v2.1.2/terracreds_2.1.2_linux_amd64.tar.gz && \ +tar -xvf terracreds_2.1.2_linux_amd64.tar.gz && \ sudo mv -f terracreds /usr/bin/terracreds && \ -rm -f terracreds_2.1.0_linux_amd64.tar.gz README.md +rm -f terracreds_2.1.2_linux_amd64.tar.gz README.md ``` The `terracreds` Linux implementation uses `gnome-keyring` in conjunction with `gnome-keyring-daemon`