milvus-logo
LFAI
Home
  • Tools

Install Milvus_CLI

This topic describes how to install Milvus_CLI.

Install from PyPI

You can install Milvus_CLI from PyPI.

Prerequisites

Install via pip

Run the following command to install Milvus_CLI.

pip install milvus-cli

Install with Docker

You can instal Milvus_CLI with docker.

Prerequisites

Docker 19.03 or later is required.

Install based on Docker image

$ docker run -it zilliz/milvus_cli:latest

Install from source code

  1. Run the following command to download a milvus_cli repository.
git clone https://github.com/zilliztech/milvus_cli.git
  1. Run the following command to enter the milvus_cli folder.
cd milvus_cli
  1. Run the following command to install Milvus_CLI.
python -m pip install --editable .

Alternatively, you can install Milvus_CLI from a compressed tarball (.tar.gz file). Download a tarball and run python -m pip install milvus_cli-<version>.tar.gz.

Install from an .exe file

This installation method only applies to Windows.

Download an .exe file from GitHub and run it to install Milvus_CLI. If successful, milvus_cli-<version>.exe pops up as shown in the following figure.

Milvus_CLI Milvus_CLI

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?