1 |
|
2 |
|
3 | # A script to download and install the latest version of the binary on Linux.
|
4 |
|
5 | VERSION=$(curl --silent "https://api.github.com/repos/stencila/dockter/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
|
6 | curl -sLO https://github.com/stencila/dockter/releases/download/$VERSION/dockter-linux-x64.tar.gz
|
7 | tar xvf dockter-linux-x64.tar.gz
|
8 | mv -f dockter ~/.local/bin/
|