Skip to content

Commit

Permalink
Updating readme with sh script for macOS and new version info
Browse files Browse the repository at this point in the history
  • Loading branch information
tonedefdev committed Oct 4, 2022
1 parent df489c0 commit bebcc2d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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`
Expand Down

0 comments on commit bebcc2d

Please sign in to comment.