# How to get Pi-Hole password if installed from CLI

**URL:** <https://community.umbrel.com/t/how-to-get-pi-hole-password-if-installed-from-cli/8522>\
**Category:** Support and Troubleshooting\
**Created:** [July 2, 2022, 5:11pm UTC](https://community.umbrel.com/t/how-to-get-pi-hole-password-if-installed-from-cli/8522 "2022-07-02T17:11:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeanluca](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/jeanluca/32/3013_2.png) [@jeanluca](https://community.umbrel.com/u/jeanluca)\
**Post date:** [July 2, 2022, 5:11pm UTC](https://community.umbrel.com/t/how-to-get-pi-hole-password-if-installed-from-cli/8522/1 "2022-07-02T17:11:29Z")

</div>

Due to issues I installed pi-hole as follows

1. Stop Umbrel: `sudo scripts/stop`
2. Reboot your system: `sudo reboot`
3. Start Umbrel: `sudo scripts/start`
4. Uninstall Pi-hole: `sudo scripts/app uninstall pi-hole`
5. Install Pi-hole: `sudo scripts/app install pi-hole`

[source](http://community.umbrel.com/t/pi-hole-in-the-getumbrel-node-does-not-install-it-always-stays-on/5041/9)

It works now, but I didn’t receive a password so I can’t login. How can I set or extract a password?

---

<div class="post-metadata">

**Author:** ![jeanluca](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/jeanluca/32/3013_2.png) [@jeanluca](https://community.umbrel.com/u/jeanluca)\
**Post date:** [July 4, 2022, 1:24pm UTC](https://community.umbrel.com/t/how-to-get-pi-hole-password-if-installed-from-cli/8522/2 "2022-07-04T13:24:24Z")

</div>

Turns out it is not that hard to do. Login in the running pi-hole container and reset the password

```
$> pihole -a -p
```

---

<div class="post-metadata">

**Author:** ![ripping](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@ripping](https://community.umbrel.com/u/ripping)\
**Post date:** [August 28, 2022, 8:38am UTC](https://community.umbrel.com/t/how-to-get-pi-hole-password-if-installed-from-cli/8522/3 "2022-08-28T08:38:17Z")

</div>

but how do you login to the running pi-hole container??
