What is basher, and how to install it on Debian 12

Endrit Qerreti

Endrit Qerreti

Basher is an open source package manager that allows you manage bash packages on your system.

Basher is like apt package manager, the difference is that apt allows you to manage deb packages, while basher can manage only bash scripts.

It also has a package directory where users can submit their own bash packages, and you can install them easily on your system using basher.

Also, basher can be installed on any Linux distro, so you can manage bash scripts on your preferred linux distro easily.

Install basher on Debian 12

Basher can be installed on Debian 12, and on any linux distro, by downloading the setup script and executing it.

To install basher on Debian 12, simply follow the steps below

1) Download Basher setup script

curl -o install_basher https://raw.githubusercontent.com/basherpm/basher/master/install.sh

2) Make basher setup executable

chmod +x install_basher.sh

3) Install Basher

./install_basher.sh

How to use basher

Basher allows you to install, update and uninstall bash packages. Let's see how you can manage bash packages with basher

Install a bash script

To install a bash script with basher is very easy. All you have to do is use the install command

basher install bash-script

replace bash-script with the name of the bash package that you want to install

Uninstall a bash script

To uninstall a bash package that you installed with basher, you can do so by running the command below

basher uninstall bash-script

Where bash-script is the bash package that you will be removing from your system

Update a bash script

To update bash packages that are already installed on your system, simply use the update command

basher update bash-script

Conclusion

In this tutorial, you learned what basher is, how to install it on Debian 12, and also how to use it to manage bash packages.