Blogs Infinispan Native CLI

Infinispan Native CLI

Starting with Infinispan 12, we provide a natively compiled version of the Infinispan CLI.

This can be consumed as a native binary or via a container image.


  1. Start a Infinispan server instance so that the CLI has an endpoint to connect to:

docker run -it -p 11222:11222 -e USER="user" -e PASS="pass"


  1. Launch the CLI image and connect to the server image:

docker run --net=host -it --rm -c
  1. Enter the "user" and "pass" credentials, for the username and password respectively.

The container’s endpoint is the CLI binary, which lets you pass CLI arguments straight to the image, e.g. --version


Native CLI binaries for Linux, Mac and Windows can be downloaded here.

  1. Download and extract the .zip for your desired platform:

  2. Start the CLI and connect to the server container:

    1. Linux & Mac: ./ispn-cli -c

    2. Windows (Powershell): & ".\ispn-cli.exe" -c

Get it, Use it, Ask us!

We’re hard at work on new features, improvements and fixes, so watch this space for more announcements!

Please, download and test the latest release.

The source code is hosted on GitHub. If you need to report a bug or request a new feature, look for a similar one on our JIRA issues tracker. If you don’t find any, create a new issue.

If you have questions, are experiencing a bug or want advice on using Infinispan, you can use GitHub discussions. We will do our best to answer you as soon as we can.

The Infinispan community uses Zulip for real-time communications. Join us using either a web-browser or a dedicated application on the Infinispan chat.