SuperAPI AI Directory

posthog-cli

Deployment & operations

View repository

Updated 10-16 01:09

About this skill

PostHog CLI

PostHog ships @posthog/cli (binary: posthog-cli). Use it instead of hand-written API calls.

  • Upload sourcemaps for error tracking: posthog-cli sourcemap upload
  • Discover more: posthog-cli --help

Auth via POSTHOG_CLI_TOKEN (or the repo's configured env). Check the repo's build scripts — sourcemap upload is usually part of the release step.