docs: update install instructions

pull/63/head
kha7iq 3 years ago
parent e69a3b2191
commit ab46bee38b

@ -77,6 +77,15 @@ platforms.
brew install kha7iq/tap/pingme brew install kha7iq/tap/pingme
``` ```
## Shell Script
By default pingme is going to be installed at `/usr/bin/` sudo is requried for this operation.
If you would like to provide a custome install path you can do so by prviding it as input to scipt. i.e `./install.sh $HOME/bin`
```bash
curl -s https://raw.githubusercontent.com/kha7iq/pingme/master/install.sh | sudo sh
```
## Linux ## Linux
* AUR * AUR
@ -89,15 +98,20 @@ yay -S pingme-bin
``` ```
* Binary ## Manual
```bash ```bash
# Chose desired version, architecture & target os
export PINGME_VERSION="0.2.4" export PINGME_VERSION="0.2.4"
wget -q https://github.com/kha7iq/pingme/releases/download/v${PINGME_VERSION}/pingme_Linux_x86_64.tar.gz && \ export ARCH="x86_64"
tar -xf pingme_Linux_x86_64.tar.gz && \ export OS="Linux"
wget -q https://github.com/kha7iq/pingme/releases/download/v${PINGME_VERSION}/pingme_${OS}_${ARCH}.tar.gz && \
tar -xf pingme_${OS}_${ARCH}.tar.gz && \
chmod +x pingme && \ chmod +x pingme && \
sudo mv pingme /usr/local/bin/pingme sudo mv pingme /usr/local/bin/pingme
``` ```
### Windows ### Windows
```powershell ```powershell

Loading…
Cancel
Save