On this page

For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.

Install the Amplitude CLI

This page hasn't yet been translated into your language. We're working on it, so check back soon.

Prerequisites

amp requires Node.js 26.8.2 or later (the 26.x release line).

Install globally

bash
npm install -g @amplitude/developer-cli
amp help

Run without installing

To try a command without a global install, run the package with npx:

bash
npx @amplitude/developer-cli help

Upgrade

Re-run the global install command to pull the latest published version:

bash
npm install -g @amplitude/developer-cli

Confirm which version is active:

bash
amp version

Uninstall

bash
npm uninstall -g @amplitude/developer-cli

Next, set up a credential in Authentication.

Was this helpful?