Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

513 B
Raw Blame

Releasing

See RELEASING.md for the full release process.

Running a local build

From the ./cli directory run cargo install --path . to build a new version

If you want to replace an existing installation of the CLI you will need to copy the generated target to override it:

cp ./target/release/posthog-cli "$(which posthog-cli)"

Tip: it can be useful to bump the version in ./cli/Cargo.toml and run posthog-cli --version to ensure you're running your local version