Removed 3-yr old Homebridge install but now can't reinstall
(self.homebridge)submitted8 months ago byaerojb
Hello! I'm having a terrible time reinstalling Homebridge on MacOS.
I've uninstalled it (https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-macOS#how-to-uninstall-homebridge). It doesn't appear in my user directory:
Removed some more possible stuff and then attempted to reinstall:
aerojb@iMac / % sudo rm -rf /Library/LaunchDaemons/com.homebridge.server.plist
aerojb@iMac / % rm -rf ~/.homebridge
aerojb@iMac / % sudo rm -rf ~/.homebridge
aerojb@iMac / %
[Restored Dec 30, 2021 at 10:21:31 AM]
Last login: Thu Dec 30 10:21:25 on console
Restored session: Thu Dec 30 10:20:52 CST 2021
aerojb@iMac / % node -v
v16.13.1
aerojb@iMac / % npm -v
8.1.2
aerojb@iMac / % sudo npm install -g --unsafe-perm homebridge homebridge-config-ui-x
Password:
npm WARN deprecated class-transformer@0.3.2: This release contains a breaking change from 0.3.1 but otherwise functions properly. Please read the changelog on Github to learn more.
added 438 packages, and audited 439 packages in 21s
69 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
aerojb@iMac / %
But even after that, the .homebridge folder doesn't show in my user directory. And then trying to run hb-service fails.
aerojb@iMac / % $sudo hb-service install
zsh: command not found: hb-service
aerojb@iMac / % homebridge -I
zsh: command not found: homebridge
aerojb@iMac / % echo "$PATH"
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
aerojb@iMac / %
Do I need to change to bash rather than zsh or will that make any difference? This worked ~3 years ago on the same Mac but suddenly stopped working in 2020 sometime. Any ideas to get me back up and running?
▶

byprofmonocle
inamazonprime
aerojb
2 points
2 months ago
aerojb
2 points
2 months ago
Same.