npm Package Changes

We're now shipping the Amp CLI as a single-file executable (compiled by Bun) instead of as a JavaScript source package. This makes Amp faster and more compatible across platforms and runtimes, and it's necessary to support Amp plugins.

If you're using the recommended direct installation, nothing changes for you. You've been using this single-file executable for several months. You can stop reading here.

If you've installed Amp via npm, you should switch to direct installation:

npm uninstall -g @sourcegraph/amp
curl -fsSL https://ampcode.com/install.sh | bash

(See all installation methods.)

If you need to keep using npm to install Amp, usually because your company has an internal npm mirror/archive, be aware of some changes:

The old package names are aliases but will be removed on June 15, 2026.