Documentation

    PLEASE NOTE: This document applies to an unreleased version of rash. It is strongly recommended that you only use official releases of rash, as unreleased versions are subject to changes and incompatibilities that will not be supported in the official releases.

    If you are using an official release version of Rash, you should refer to the documentation for your specific version.

    Documentation for other releases can be found by using the version selector in the bottom left of any doc page.

    Installation

    The following steps install the latest stable version of rash into your system.

    Aur package

    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 rash package. E.g.:

    yay -S rash
    

    Binary

    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:]') \
        | grep -v musl \
        | cut -d '"' -f 4 \
        | xargs curl -s -L \
        | sudo tar xvz -C /usr/local/bin
    

    The command downloads latest release binary and it to /usr/loca/bin. Note that you might be prompted for your password.

    Cargo

    If you prefer to use cargo for installation you always can do:

    cargo install rash_core
    

    Docker

    docker run --rm -v /usr/local/bin/:/output --entrypoint /bin/cp ghcr.io/rash-sh/rash:latest /bin/rash /output/