This project is depreacted. It started out as a hackathon experiment to install plugins. We have since changed course several times and no longer support this usecase.
Still keeping the project itself and the posthog-cli
utility around, since we might come up with other uses for a CLI in the future.
Read below for the old docs.
The CLI allows you to interact with your PostHog instance from the command line.
It currently just supports installing global plugins.
Run npm install -g posthog-cli
to install posthog-cli
.
Run posthog plugin search [term]
to search the repository. The term
is optional.
Run posthog plugin add <url>
, where <url>
is the plugin's github.com
or npmjs.com
URL.
Run posthog plugin remove <url>
, where <url>
is the plugin's github.com
or npmjs.com
URL.
Run posthog plugin list
to view installed plugins.