About ba.sh

Short links for install scripts

Many tools install with one line: curl fetches a script and pipes it to bash. The raw URL of that script is often long. ba.sh gives it a short link that redirects to the original file, so the command fits in a README or a terminal.

Paste the URL, select Shorten and copy the result. It's free and no account is needed.

For a raw script URL, for example on raw.githubusercontent.com, run curl -sL https://ba.sh/example | bash with your generated slug in place of example. Read the script before you run it.

Supported domains

To limit abuse, ba.sh only shortens URLs on these domains and their subdomains:

github.com, gitlab.com, githubusercontent.com, huggingface.co, codeberg.org

Other domains aren't accepted.

Link history

Links you create appear under History on the home page. This list is saved only in your browser. Removing an entry from your history does not disable the short link.

Operated by S.EE

ba.sh is run by S.EE, which creates the short links and handles redirects.

Links created on this page can't be edited or deleted later. To create links in your own S.EE account, where you can edit or delete them and view click stats, choose a paid S.EE plan.

Independent service

ba.sh is an independent service. It is not affiliated with, endorsed by, or sponsored by GitHub, GitLab, Codeberg, Hugging Face, or the GNU Project. All trademarks belong to their respective owners.