1. Install via brew
:
brew install babashka/brew/bbin
2. Add ~/.local/bin
to PATH
:
echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.$(basename $SHELL)rc && exec $SHELL
1. Install bbin
CLI:
scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure
scoop install bbin
The Scoop package will automatically update your Path
with %HOMEDRIVE%%HOMEPATH%\.local\bin
, but you will have to restart your terminal for this to take effect.
1. Install bbin
CLI:
mkdir -p ~/.local/bin && curl -o- -L https://raw.githubusercontent.com/babashka/bbin/v0.2.4/bbin > ~/.local/bin/bbin && chmod +x ~/.local/bin/bbin
2. Add ~/.local/bin
to PATH
:
echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.$(basename $SHELL)rc && exec $SHELL
1. Open Windows Powershell and run the following commands to install the bbin
CLI (including .bat
wrapper):
New-Item -ItemType Directory -Force -Path $Env:HOMEDRIVE$Env:HOMEPATH\.local\bin
Invoke-WebRequest -Uri https://raw.githubusercontent.com/babashka/bbin/v0.2.4/bbin -OutFile $Env:HOMEDRIVE$Env:HOMEPATH\.local\bin\bbin
Invoke-WebRequest -Uri https://raw.githubusercontent.com/babashka/bbin/v0.2.4/bbin.bat -OutFile $Env:HOMEDRIVE$Env:HOMEPATH\.local\bin\bbin.bat
2. Add %HOMEDRIVE%%HOMEPATH%\.local\bin
to Path
environment variable
- Search for
View advanced system settings
in the Start Menu - Click on the
Environment Variables...
button - Double-click on the
Path
variable to edit - When the edit dialog opens, click on
New
- Paste
%HOMEDRIVE%%HOMEPATH%\.local\bin
into the text field - Click
OK
on all remaining dialogs to save the changes