Skip to content

Commit 9b2b10f

Browse files
authored
Update README.md (#23)
Updated the readme to fit newer versions of homebridge with the correct link command for a working directory.
1 parent d0e5373 commit 9b2b10f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,15 @@ If you're trying to get one of the example plugins to show up in your homebridge
2323
from npm just clone this repo.
2424
Then, just cd into one of the plugin folders and run
2525
```
26-
npm link
26+
sudo hb-service link
2727
```
28+
This creates a symlink from the plugin directory to /var/lib/homebridge/node_modules/plugin_name.
29+
30+
To undo this run
31+
```
32+
sudo hb-service unlink
33+
```
34+
2835
Pay attention to not start homebridge with the --strict-plugin-resolution flag. A standard installation of
2936
homebridge might start it with that flag in a start script, located in /opt/homebridge on linux.
3037

0 commit comments

Comments
 (0)