Skip to content

zilliztech/milvus_cli

 
 

Repository files navigation

Milvus_CLI🚀

GitHub release (latest by date including pre-releases) PyPI PyPI - Downloads GitHub release (latest by date including pre-releases) Docker Pulls GitHub repo size PyPI - License

Overview

Milvus Command Line Interface based on Milvus Python SDK.

  • Applicable to most platforms: MS Windows, macOS, Ubuntu

  • Support pip install & offline installation package

  • Support single executable file

  • Milvus Python SDK full function coverage

  • Built-in help function

  • Support auto completion

Installation methods

🔝Install in a Python environment

Prerequisites

Python >= 3.8.5

Install from PyPI (Recommended)

Run pip install pymilvus==2.4.3 Run pip install milvus-cli==0.4.3

Install from a tarball

  1. Download the latest release of milvus_cli-<version>.tar.gz.
  2. Run pip install milvus_cli-<version>.tar.gz.

Install from source code

  1. Run git clone https://github.com/zilliztech/milvus_cli.git.
  2. Run cd milvus_cli.
  3. Run pip install --editable .

Install from an executable file

Windows .exe file

Download the latest release of milvus_cli.exe and run it.

Ubuntu executable file

  1. Download the latest release of milvus_cli-<version>-Linux.
  2. Run sudo chmod +x milvus_cli-<version>-Linux to allow executing milvus_cli-<version>-Linux as program.
  3. Run ./milvus_cli-<version>-Linux.

MacOS executable file

  1. Download the latest release of milvus_cli-<version>-macOS.
  2. Run sudo chmod +x milvus_cli-<version>-macOS to allow executing milvus_cli-<version>-macOS as program.
  3. Run ./milvus_cli-<version>-macOS.

Docker image in docker hub

docker run -it zilliz/milvus_cli:latest

Usage

Run milvus_cli (in a Python environment) or double click milvus_cli-<version>.exe file (in a Windows environment).

Run Milvus_CLI

  • In a Python environment, run milvus_cli.
  • In a Windows environment, double click milvus_cli-<version>.exe.
  • In an Ubuntu environment, run ./milvus_cli-<version>-Linux.
  • In a MacOS environment, run ./milvus_cli-<version>-macOS.

Document

https://milvus.io/docs/cli_commands.md

Community

💬 Community isn’t just about writing code together. Come join the conversation, share your knowledge and get your questions answered on Milvus Slack Channel!

Miluvs Slack Channel