Bbin: Install any Babashka script or project with one command

Today I’m excited to share bbin, a tool that makes it easy to install Babashka scripts and projects on your system PATH.

Intro Post: bbin — rads
GitHub: GitHub - babashka/bbin: Install any Babashka script or project with one command
Slack: #babashka-bbin

Here’s an example of how bbin is used:

$ bbin install io.github.babashka/neil
{:lib io.github.babashka/neil,
 :coords
 {:git/url "https://github.com/babashka/neil",
  :git/tag "v0.1.45",
  :git/sha "0474d4cb5cfb0207265a4508a0e82ae7a293ab61"}}

$ neil --version
neil 0.1.45

$ bbin install https://gist.githubusercontent.com/rads/da8ecbce63fe305f3520637810ff9506/raw/25e47ce2fb5f9a7f9d12a20423e801b64c20e787/portal.clj
{:coords {:bbin/url "https://gist.githubusercontent.com/rads/da8ecbce63fe305f3520637810ff9506/raw/25e47ce2fb5f9a7f9d12a20423e801b64c20e787/portal.clj"}}

# Open a Portal window with all installed scripts
$ portal <(bbin ls)

Even though the project is just getting started, it’s already very useful! Check out the Scripts and Projects page for examples of tools that you can already install out-of-the-box.

7 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.