Skip to content

Installation

Silas Marvin edited this page May 31, 2024 · 9 revisions

LSP-AI is entirely written in Rust. Install it on any platform with cargo. Be sure to first install rust with rustup.

cargo install lsp-ai

Install with the llama_cpp feature to use llama.cpp. This automatically compiles with Metal integration if installing on MacOS.

cargo install lsp-ai -F llama_cpp

Install with llama_cpp and cublas feature to use llama.cpp models with cuBlas. This is recommended for Linux users with Nvidia GPUs

cargo install lsp-ai -F llama_cpp cublas
Clone this wiki locally