# bloodhoundcli
Lets you quickly spin up [BloodHound CE](https://bloodhound.specterops.io/get-started/quickstart/community-edition-quickstart) instances.

## Download
```
wget https://github.com/SpecterOps/bloodhound-cli/releases/latest/download/bloodhound-cli-linux-amd64.tar.gz
```

## Unpack
```
tar -xvzf bloodhound-cli-linux-amd64.tar.gz
```

## Install
```
./bloodhound-cli install
```
!!!tip Set graph_driver to `pg`
I learned in [this Slack thread](https://bloodhoundhq.slack.com/archives/C20NG2L87/p1773348206310989) that certain features/queries work better when back end of BH uses postgres instead of neo4j.  If that fits your use case, do this:
```
# Set the graph_driver variable
./bloodhound-cli config set graph_driver pg

# Then install
./bloodhound-cli install
```
!!!

!!!tip Tip
You may need to install docker compose if you don't have it already:
```
sudo apt install docker-compose
```
!!!

## Take docker containers down, then up
```
./bloodhound-cli down
./bloodhound-cli up
```

## Uninstall an instance
```
./bloodhound-cli uninstall
```

## Grab forgotten admin password
```
./bloodhound-cli config get default_password
```
