Skip to content
Ryan Caloras edited this page Mar 4, 2015 · 8 revisions

Simply run this command from your terminal.

curl -OL bashhub.com/setup && bash setup

This will pulldown and run bashhub's installation file. If all is well you should see something like this:

          ____            _     _           _
         |  _ \          | |   | |         | |
         | |_) | __ _ ___| |__ | |__  _   _| |__   ___ ___  _ __ ___
         |  _ < / _` / __| '_ \| '_ \| | | | '_ \ / __/ _ \| '_ ` _  \
         | |_) | (_| \__ \ | | | | | | |_| | |_) | (_| (_) | | | | | |
         |____/ \__,_|___/_| |_|_| |_|\__,_|_.__(_)___\___/|_| |_| |_|

Welcome to bashhub setup!
Are you a new user? [Y/n] y
What's your email? [email protected]
What username would you like? ryan

Last thing you'll have to do is close and restart your terminal.

Should be good to go! Please close and restart your terminal session.

Concerns about what this does? No worries it's all open sourced and can be found here Bashhub Installation on Github.

Need to reinstall or update?

Just rerun the initial installation command.

What does the install do?

Bashhub will setup a directory at $HOME/.bashhub that contains a few scripts and a python virtual environment. If you check your bash profile you should see the installation hook.

### Bashhub.com Installation
if [ -f ~/.bashhub/bashhub.sh ]; then
  source ~/.bashhub/bashhub.sh
fi

Depending on what you use to conifgure your terminal (.profile, .bashrc, .bash_profile), this installation hook may need to be moved to the appropriate place.

Uninstall

Bashhub's not for you? Sorry. Uninstall is super simple.

rm -r ~/.bashhub

That's it.

$ bashhub off $ echo "Recording is now disabled for this session. This command won't be saved." .... $ bashhub on $ echo "Recording commands is now re-enabled"

Clone this wiki locally