The following steps install the latest stable version of
rash into your system.
For ArchLinux users, exists an AUR package that it is maintained in this repository.
You can choose your favorite AUR package manager and just install the
yay -S rash
If you are using Linux or macOs, open a terminal and enter the following command:
curl -s https://api.github.com/repos/rash-sh/rash/releases/latest \ | grep browser_download_url \ | grep $(uname -m) \ | grep $(uname | tr '[:upper:]' '[:lower:]') \ | cut -d '"' -f 4 \ | xargs curl -s -L \ | sudo tar xvz -C /usr/local/bin
The command downloads latest release binary and it to
Note that you might be prompted for your password.
If you prefer to use cargo for installation you always can do:
cargo install rash_core
docker run --rm -v /usr/local/bin/:/output --entrypoint /bin/cp rustagainshell/rash:latest-debian /bin/rash /output/