Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.46 KB

File metadata and controls

39 lines (29 loc) · 1.46 KB

Offline Installation

English | 简体中文 | 繁體中文 | 日本語 | Русский

Many enterprise and intranet environments do not have internet access. Devo's installers support an offline mode that reads all required assets from the same directory as the installer script and does not contact the network.

On a machine with internet access:

  1. Download the installer script: install.sh for Linux/macOS or install.ps1 for Windows.
  2. Download the latest Devo release asset for the target CPU and OS, for example x86_64 vs aarch64/arm64.
  3. Download the Hugging Face minishlab/potion-code-16M model files used by local semantic code_search: config.json, model.safetensors, and tokenizer.json.
  4. Download the matching ripgrep release asset for the target CPU and OS.

Place these files next to the installer script. The model files can either sit next to the installer directly or under a minishlab--potion-code-16M/ subdirectory.

Linux / macOS:

sh ./install.sh --offline

Windows:

.\install.ps1 -Offline

Offline mode installs the model into <DEVO_HOME>/local-models/minishlab--potion-code-16M, which is the directory used by the runtime code-search provider. When DEVO_HOME is not set, this is ~/.devo/local-models/minishlab--potion-code-16M.