Best AI News — Updated Every 3 Hours
Story Page
← All Stories
Home Community Story
Community

How to connect Claude Code CLI to a local llama.cpp server

Via r/LocalLlama
Tuesday, Mar 31, 2026 · 11:42AM
Summary

How to connect Claude Code CLI to a local llama.cpp server I’ve seen a lot of people struggling to get Claude Code working with a local llama.cpp setup, so here’s a quick guide that worked for me. 1. CLI (Terminal) Add this to your .bashrc (or .zshrc): bash export ANTHROPIC_AUTH_TOKEN="not_set" expo

Continue reading the full article
Read at r/LocalLlama
www.reddit.com
Back to all stories