Homebridge: How to update...

Created on 16 Jul 2017  路  4Comments  路  Source: homebridge/homebridge

Pardon my newbie question but what is the best way to update homebridge to the latest version? I searched and found the command npm update --depth 9999 -g homebridge but that doesn't do anything.

Thanks!

stale

Most helpful comment

Simply run sudo npm install -g homebridge (without the --unsafe-perm). This will update your homebridge setup. Of course you can save your config before. Just make a backup of the config-file in the .homebridge directory.

All 4 comments

Vou can update homebridge (or other npms) by simply running the install command again. At least that is the way I normally do this. So...

npm install -g homebridge

should do it. Maybe with a sudo. Depends on your setup and how you installed it

I installed it originally with

sudo npm install -g --unsafe-perm homebridge so just run that again? Won't it overwrite my current config?

Simply run sudo npm install -g homebridge (without the --unsafe-perm). This will update your homebridge setup. Of course you can save your config before. Just make a backup of the config-file in the .homebridge directory.

This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

morilm picture morilm  路  6Comments

350d picture 350d  路  6Comments

a2ron44 picture a2ron44  路  5Comments

BuckarooToo picture BuckarooToo  路  5Comments

coneybeare picture coneybeare  路  4Comments