{"repo":"basherpm/basher","free":true,"listed":false,"github":"https://github.com/basherpm/basher","clone":"git clone https://github.com/basherpm/basher.git","description":"A package manager for shell scripts.","language":"Shell","stars":1299,"topics":["basher","shell","package-manager","bash","zsh","shell-script"],"license":"MIT","category":"cli-tools","readme_excerpt":"basher A package manager for shell scripts and functions. Basher allows you to quickly install shell packages directly from github (or other sites). Instead of looking for specific install instructions for each package and messing with your path, basher will create a central location for all packages and manage their binaries for you. Even though it is called basher, it also works with zsh and fish. Installation You can install Basher in 1 line. This will install Basher, and add it to your .bashrc/.zshrc file - in a way that can automatically be uninstalled later: curl -s https://raw.githubusercontent.com/basherpm/basher/master/install.sh bash Install on Mac OSX Basher requires bash = 4 , and the realpath utility from coreutils . On osx you can install both with brew: Manual method to Install 1. Checkout basher on /.basher sh $ git clone --depth=1 https://github.com/basherpm/basher.git /.basher 2. Initialize basher in your shell initialization sh export PATH=\"$HOME/.basher/bin:$PATH\" eval \"$(basher init - bash)\" # replace bash with zsh if you use zsh Fish : Use the following commands instead: sh if test -d /.basher set basher /.basher/bin end set -gx PATH $basher $PATH status --is-interactive; and . (basher init - fish psub) Updating Go to the directory where you cloned basher and pull the latest changes: sh $ cd /.basher $ git pull Usage Installing packages from Github sh $ basher install sstephenson/bats This will install bats from https://github.com/sstephenson/bats and ad","default_branch":null,"files":null,"tree":[],"storefront":"/r/basherpm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/basherpm/basher/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}