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:
- Download the installer script:
install.shfor Linux/macOS orinstall.ps1for Windows. - Download the latest Devo release asset for the target CPU and OS, for example
x86_64vsaarch64/arm64. - Download the Hugging Face
minishlab/potion-code-16Mmodel files used by local semanticcode_search:config.json,model.safetensors, andtokenizer.json. - Download the matching
ripgreprelease 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 --offlineWindows:
.\install.ps1 -OfflineOffline 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.