---
title: Install the Amplitude CLI
description: "Install the amp CLI globally or run it with npx, upgrade to the latest version, and check the Node.js prerequisite."
product: general
token_estimate: 220
---
# Install the Amplitude CLI

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

## Prerequisites

`amp` requires Node.js 22.22.0 or later (the 22.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](https://amplitude.com/docs/developers/cli/authentication).

