Akamai CLI for Purge

Akamai CLI for Purge allows you to purge cached content from the Edge using FastPurge (CCUv3).

FastPurge will typically invalidate (recommended), or delete cached content in under five seconds.


To install, use Akamai CLI:

akamai install purge

You may also use this as a stand-alone command by downloading the latest release binary for your system, or by cloning this repository and compiling it yourself.

Compiling from Source

If you want to compile it from source, you will need Go 1.7 or later, and the Dep package manager installed:

  1. Fetch the package:
    go get
  2. Change to the package directory:
    cd $GOPATH/src/
  3. Install dependencies using dep:
    dep ensure
  4. Compile the binary:
    • Linux/macOS/*nix: go build -o akamai-purge
    • Windows: go build -o akamai-purge.exe
  5. Move the binary (akamai-purge or akamai-purge.exe) in to your PATH


akamai purge [global flags] command [--cpcode --tag] [URLs/CPCodes/Cache Tags...]

You may specify URLs/CPCodes as a list of arguments, or pipe in a newline-delimited list via STDIN


Global Flags