Skip to content

Installation

Silas Marvin edited this page Jun 2, 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.

cargo install lsp-ai -F llama_cpp

Install with llama_cpp and metal feature to use llama.cpp models with metal. This is recommended for MacOS users

cargo install lsp-ai -F llama_cpp -F metal

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 -F cublas
Clone this wiki locally