Short links for install scripts
Paste the raw URL of a Bash script on github.com or another supported code host. Use the ba.sh link in a one-line installer or a README. Free, no account needed.
History
Your ba.sh history is saved only in this browser.
To edit or delete links and see click stats, choose a paid S.EE plan.
Frequently asked questions
What is ba.sh for?
ba.sh makes short links to Bash scripts and the repos they live in, so a one-line installer stays short enough to read and type. Paste a URL, select Shorten and copy the ba.sh link. It redirects to the original URL. No account is needed.
Which domains are supported?
ba.sh accepts URLs on
github.com, gitlab.com, githubusercontent.com, huggingface.co, codeberg.org and their subdomains, such as raw.githubusercontent.com. Links to other domains aren't accepted.Do short links expire?
Short links are meant for long-term use, but we can't promise they will work forever. ba.sh only redirects and keeps no copy of the script. If the file is moved or deleted, the link will lead to a missing page.
Are there any usage limits?
Creating links here is free, with rate limits in place to prevent abuse. If you hit the limit, wait a moment and try again.
Are short links safe to open?
ba.sh only accepts links to supported domains, but anyone can publish a script there. Open the link in a browser and read the script before you pipe it to bash.
Can I view click stats?
Links made on this page have no click stats and aren't tied to an account. To edit or delete links and see click stats, choose a paid S.EE plan.
How can I get help?
ba.sh is run by S.EE. For questions or to report a short link, contact S.EE.
Can I pipe a ba.sh link to bash?
Yes, if it points to the raw file. Shorten a URL that returns the script itself, such as one on
raw.githubusercontent.com. The repository page that displays the script won't work. Then run curl -sL https://ba.sh/example | bash with your slug in place of example. The -L flag makes curl follow the redirect.Can I choose a custom slug like ba.sh/example?
Links made here for free get a random slug. To choose your own, such as
ba.sh/example, choose a paid S.EE plan. S.EE does not offer free accounts.