Install

Standard install enables the full features of Jina.

pip install -U jina
conda install jina -c conda-forge
docker run jinaai/jina:latest

More install options

Version identifiers are explained here. Jina can run on Windows Subsystem for Linux. We welcome the community to help us with native Windows support.

Minimum

Minimum install enables basic features of Jina, but without support on HTTP, WebSocket, Docker & Hub.

Minimum install is often used when building & depolying an Executor.

JINA_PIP_INSTALL_CORE=1 pip install jina
conda install jina-core -c conda-forge
docker run jinaai/jina:latest

Minimum but more performant

Same as Minimum install, but also install uvloop & lz4.

JINA_PIP_INSTALL_PERF=1 pip install jina
conda install jina-perf -c conda-forge
docker run jinaai/jina:latest-perf

With Daemon (JinaD)

Same as Minimum install, but also install uvloop & lz4.

pip install "jina[daemon]"

Full development dependencies

pip install "jina[devel]"
docker run jinaai/jina:latest-devel

Prerelease

Prerelease is the version always synced with master branch of Jina Github repository.

pip install --pre jina
docker run jinaai/jina:master

Autocomplete commands on Bash, Zsh and Fish

After installing Jina via pip, you should be able to use your shell’s autocomplete feature while using Jina’s CLI. For example, typing jina then hitting your Tab key will provide the following suggestions:

jina 

--help          --version       --version-full  check           client          flow            gateway         hello-world     log             pea             ping            pod

The autocomplete is context-aware. It also works when you type a second-level argument:

jina pod --name --lo

--log-profile  --log-remote   --log-sse

Currently, the feature is enabled automatically on Bash, Zsh and Fish. It requires you to have a standard shell path as follows:

Shell Configuration file path
Bash ~/.bashrc
Zsh ~/.zshrc
Fish ~/.config/fish/config.fish