: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
docs(cli): list the install scripts and Cargo in the README (#107662)
Hugues Pouillot162a681ffc36
diff --git a/cli/README.md b/cli/README.mdindex c90b6e5742c5..7043abfadfd4 100644--- a/cli/README.md+++ b/cli/README.md@@ -16,19 +16,37 @@ If you'd rather not use our wizard, you can install the CLI by running:npm install -g @posthog/cli@latest```+Or with the install script on macOS and Linux:++```bash+curl -LsSf https://releases.posthog.com/posthog-cli/install.sh | sh+```++Or with the install script on Windows (PowerShell):++```powershell+irm https://releases.posthog.com/posthog-cli/install.ps1 | iex+```+Or with Homebrew:```bashbrew install posthog/tap/posthog-cli```+Or with Cargo:++```bash+cargo install posthog-cli+```+To update, run:```bashposthog-cli update```-It updates in place when you installed with the script above. If you used npm, Homebrew or cargo, it prints the command your package manager expects instead.+If you installed with the macOS or Linux script, it updates in place. If you installed with the Windows script, it prints a command to rerun the installer. If you used npm, Homebrew or cargo, it prints the command your package manager expects instead.Note: if you are installing the CLI for use with a coding agent, you should follow our [setup for agents](https://posthog.com/docs/cli#setup-for-agents) instructions.