Skip to content

docs(error-tracking): drop broken curl install for posthog-cli#16808

Open
ptrkstr wants to merge 1 commit into
PostHog:masterfrom
ptrkstr:fix/remove-broken-curl-installer-cli
Open

docs(error-tracking): drop broken curl install for posthog-cli#16808
ptrkstr wants to merge 1 commit into
PostHog:masterfrom
ptrkstr:fix/remove-broken-curl-installer-cli

Conversation

@ptrkstr
Copy link
Copy Markdown

@ptrkstr ptrkstr commented May 10, 2026

Changes

The curl install for posthog-cli documented at https://posthog.com/docs/error-tracking/upload-source-maps/ios returns 404:

curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/PostHog/posthog/releases/latest/download/posthog-cli-installer.sh | sh

releases/latest on PostHog/posthog resolves to whichever release in the monorepo was cut most recently — today that's phrocs-latest, which has no posthog-cli-installer.sh asset. It will keep breaking whenever a non-posthog-cli/* release ships next.

Removes the curl tab from the shared install snippet (_snippets/cli/download.mdx) and the curl fallback in the iOS "posthog-cli not found" troubleshooting block (upload-source-maps/ios.mdx). npm install -g @posthog/cli is the remaining (and working) install path.

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json

The curl URL pins to PostHog/posthog releases/latest, which is a
monorepo `latest` pointer covering many unrelated streams
(posthog-cli, agent-skills, hogli, phrocs, …). When `latest` is
anything other than a `posthog-cli/*` release the asset 404s. It
404s today (latest is `phrocs-latest`) and will keep doing so
intermittently. npm's "latest" is scoped to the @posthog/cli
package, so it isn't affected.
@ptrkstr ptrkstr force-pushed the fix/remove-broken-curl-installer-cli branch from f6f2f36 to d6f8f56 Compare May 10, 2026 07:23
@ptrkstr ptrkstr changed the title Drop broken curl installer for posthog-cli docs(error-tracking): drop broken curl install for posthog-cli May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant