Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 1.76 KB

index.md

File metadata and controls

70 lines (48 loc) · 1.76 KB
layout title tabtitle tagline
page
Home
bpkg home
Supporting tagline

{% include JB/setup %}

bpkg is a bash package manager

JavaScript has npm, Ruby has Gems, Python has pip and now Shell has bpkg!

With bpkg you can easily install and manage Bash packages.

It takes care of installing/uninstalling, execution permissions and everything so you can simply do the following:

{% highlight bash %}

Installs term on /usr/local/bin (https://github.com/bpkg/term)

$ bpkg install term -g $ term {% endhighlight %}

Besides installing shell scripts globally you can use them on a per-project basis.

{% highlight bash %}

Installs term under the deps/ directory

$ bpkg install term $ ./deps/term/term.sh {% endhighlight %}


Install

You can install bpkg from 3 methods:

1. Install Script

Our custom install script will take care of everything for you. Just paste the following on your shell:

{% highlight bash %} $ curl -sLo- https://get.bpkg.sh | bash {% endhighlight %}

If you want to see what's inside it, access it directly or check it out on the repository.

2. clibs

clibs is a great package manager for the C language. If you have it, installing bpkg is as simple as:

{% highlight bash %} $ clib install bpkg/bpkg {% endhighlight %}

3. Source Code

If you prefer to handle source code, clone bpkg's repository and install it on the following way:

{% highlight bash %} $ git clone https://github.com/bpkg/bpkg.git $ cd bpkg $ ./setup.sh install {% endhighlight %}