Install.md
0 → 100644
Simply run this command from your terminal. | |||
```bash | |||
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: | |||
```no-highlight | |||
____ _ _ _ | |||
| _ \ | | | | | | | |||
| |_) | __ _ ___| |__ | |__ _ _| |__ ___ ___ _ __ ___ | |||
| _ < / _` / __| '_ \| '_ \| | | | '_ \ / __/ _ \| '_ ` _ \ | |||
| |_) | (_| \__ \ | | | | | | |_| | |_) | (_| (_) | | | | | | | |||
|____/ \__,_|___/_| |_|_| |_|\__,_|_.__(_)___\___/|_| |_| |_| | |||
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. | |||
```bash | |||
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](https://github.com/rcaloras/bashhub-client/blob/master/install-bashhub.sh). | |||
### 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. | |||
```bash | |||
### 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. | |||
```bash | |||
rm -r ~/.bashhub | |||
``` | |||
That's it. | |||
\ No newline at end of file |