Installing a plugin without publishing it in the npm registry
-
In your plugin directory (I'll use
nodebb-plugin-example
as an example here), you need to runnpm link
:~/nodebb-plugin-example > npm link
In your nodebb directory, you then run
npm link [plugin package name]
~/nodebb > npm link nodebb-plugin-example
You can then activate it via CLI, or restart NodeBB and activate it in the ACP
~/nodebb > ./nodebb activate example
Copyright © 2024 NodeBB | Contributors