orient all install refs around the latest version
This commit is contained in:
parent
69e6ba9993
commit
6ba95122a5
@ -93,14 +93,15 @@ With valid `source` options as such:
|
|||||||
|
|
||||||
**Ubuntu/Debian**
|
**Ubuntu/Debian**
|
||||||
```bash
|
```bash
|
||||||
export DIVE_VERSION=$(wget -qO - "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
|
export DIVE_VERSION=$(curl -sL "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
|
||||||
curl -OL https://github.com/wagoodman/dive/releases/download/v${DIVE_VERSION}/dive_${DIVE_VERSION}_linux_amd64.deb
|
curl -OL https://github.com/wagoodman/dive/releases/download/v${DIVE_VERSION}/dive_${DIVE_VERSION}_linux_amd64.deb
|
||||||
sudo apt install ./dive_${DIVE_VERSION}_linux_amd64.deb
|
sudo apt install ./dive_${DIVE_VERSION}_linux_amd64.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
**RHEL/Centos**
|
**RHEL/Centos**
|
||||||
```bash
|
```bash
|
||||||
curl -OL https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.rpm
|
export DIVE_VERSION=$(curl -sL "https://api.github.com/repos/wagoodman/dive/releases/latest" | grep '"tag_name":' | sed -E 's/.*"v([^"]+)".*/\1/')
|
||||||
|
curl -OL https://github.com/wagoodman/dive/releases/download/v${DIVE_VERSION}/dive_${DIVE_VERSION}_linux_amd64.rpm
|
||||||
rpm -i dive_0.9.2_linux_amd64.rpm
|
rpm -i dive_0.9.2_linux_amd64.rpm
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -126,11 +127,11 @@ If you use [MacPorts](https://www.macports.org):
|
|||||||
sudo port install dive
|
sudo port install dive
|
||||||
```
|
```
|
||||||
|
|
||||||
Or download the latest Darwin build from the [releases page](https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_darwin_amd64.tar.gz).
|
Or download the latest Darwin build from the [releases page](https://github.com/wagoodman/dive/releases/latest).
|
||||||
|
|
||||||
**Windows**
|
**Windows**
|
||||||
|
|
||||||
Download the [latest release](https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_windows_amd64.zip).
|
Download the [latest release](https://github.com/wagoodman/dive/releases/latest).
|
||||||
|
|
||||||
**Go tools**
|
**Go tools**
|
||||||
Requires Go version 1.10 or higher.
|
Requires Go version 1.10 or higher.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user