ebrow
workspace scriptcurl --location --output ebrow 'https://github.com/sirikon/ebro/releases/latest/download/ebrow'
chmod +x ebrow
ebrow
is a Bash script that contains a reference to an exact Ebro version and is able to download it, verify its integrity, and place it inside the .ebro
directory, created next to itself. Read the base script.
This is the recommended way of installing and using Ebro, as the ebrow
file can be committed to a code repository, helping to maintain a consistent environment for all the collaborators in a project.
Each release includes it's own ebrow
file with the correct version and checksums included. This way, for updating Ebro, all you need to do is replace your current ebrow
with the one from a new release.
The script depends on:
sha256sum
curl
Any regular Linux distro should satisfy these dependencies already, but Mac users will need to install sha256sum
(with brew install coreutils
) and a newer Bash (with brew install bash
) because Mac's stock Bash is 3.2.x
.
uname -s
and uname -m
) and its accompanying .sha256
file.sha256sum -c <binary>.sha256
.sha256sum
with brew install coreutils
.