|
|
@ -6,6 +6,18 @@
|
|
|
|
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 custom install path you can do so as input to script. i.e `./install.sh $HOME/bin`
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
curl -s https://raw.githubusercontent.com/kha7iq/pingme/master/install.sh | sudo sh
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
curl -sL https://bit.ly/installpm | sudo sh
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Linux
|
|
|
|
## Linux
|
|
|
|
|
|
|
|
|
|
|
|
* AUR
|
|
|
|
* AUR
|
|
|
@ -13,21 +25,18 @@ brew install kha7iq/tap/pingme
|
|
|
|
yay -S pingme-bin
|
|
|
|
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
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Go Get
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
go get -u github.com/kha7iq/pingme
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Windows
|
|
|
|
## Windows
|
|
|
|
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
```powershell
|
|
|
|