Showing results for
🌐
Medium
medium.com › @luongnv89 › setting-up-claude-code-locally-with-a-powerful-open-source-model-a-step-by-step-guide-for-mac-84cf9ab7302f
Setting Up Claude Code Locally with a Powerful Open-Source Model: A Step-by-Step Guide for Mac Users | by Luong NGUYEN | Nov, 2025 | Medium
November 20, 2025 - In your terminal, run: npm install -g @anthropic-ai/claude-code. Verify the install: Type claude—it might ask for an Anthropic key, but we'll override that soon. That’s it for installation.
🌐
Claude
claude.com › product › claude-code
Claude Code - AI coding agent for terminal & IDE | Claude
November 24, 2025 - Yes. Claude Code runs locally in your terminal and talks directly to model APIs without requiring a backend server or remote code index.
People also ask

Does Claude Code work with the Claude desktop app?
Yes. Max, Pro, Team, and Enterprise users can access Claude Code on the Claude desktop app.
🌐
claude.com
claude.com › product › claude-code
Claude Code - AI coding agent for terminal & IDE | Claude
Is Claude Code secure?
Yes. Claude Code runs locally in your terminal and talks directly to model APIs without requiring a backend server or remote code index. It also asks for permission before making changes to your files or running commands.
🌐
claude.com
claude.com › product › claude-code
Claude Code - AI coding agent for terminal & IDE | Claude
Which models does Claude Code use?
Claude Code works with the Opus 4.5, Sonnet 4.5, and Haiku 4.5 models. Enterprise users can run Claude Code using models in existing Amazon Bedrock or Google Cloud Vertex AI instances.
🌐
claude.com
claude.com › product › claude-code
Claude Code - AI coding agent for terminal & IDE | Claude
🌐
Reddit
reddit.com › r/localllama › use claudecode with local models
r/LocalLLaMA on Reddit: Use claudecode with local models
July 16, 2025 -

So I have had FOMO on claudecode, but I refuse to give them my prompts or pay $100-$200 a month. So 2 days ago, I saw that moonshot provides an anthropic API to kimi k2 so folks could use it with claude code. Well, many folks are already doing that with local. So if you don't know, now you know. This is how I did it in Linux, should be easy to replicate in OSX or Windows with WSL.

Start your local LLM API

Install claude code

install a proxy - https://github.com/1rgs/claude-code-proxy

Edit the server.py proxy and point it to your OpenAI endpoint, could be llama.cpp, ollama, vllm, whatever you are running.

Add the line above load_dotenv
+litellm.api_base = "http://yokujin:8083/v1" # use your localhost name/IP/ports

Start the proxy according to the docs which will run it in localhost:8082

export ANTHROPIC_BASE_URL=http://localhost:8082

export ANTHROPIC_AUTH_TOKEN="sk-localkey"

run claude code

I just created my first code then decided to post this. I'm running the latest mistral-small-24b on that host. I'm going to be driving it with various models, gemma3-27b, qwen3-32b/235b, deepseekv3 etc

🌐
Claude
code.claude.com › docs › en › setup
Set up Claude Code - Claude Code Docs
rmdir /s /q "%LOCALAPPDATA%\Programs\claude-code" del "%LOCALAPPDATA%\Microsoft\WindowsApps\claude.exe"
🌐
Justin Searls
justin.searls.co › posts › how-to-run-claude-code-against-a-free-local-model
How to run Claude Code against a free local model
Thirty minutes later and I have a totally-free, locally-hosted version of the Claude Code experience demonstrated in the video above working on my machine (an MacBook Pro with M4 Pro and 48GB of RAM). I figured other people would like to try this too, so here are step-by-step instructions.
🌐
Anthropic
anthropic.com › claude-code
Claude Code - AI coding agent for terminal & IDE | Claude
Yes. Claude Code runs locally in your terminal and talks directly to model APIs without requiring a backend server or remote code index.
🌐
Substack
lennysnewsletter.com › p › everyone-should-be-using-claude-code
Everyone should be using Claude Code more
October 14, 2025 - The key is to forget that it’s called Claude Code and instead think of it as Claude Local or Claude Agent.
Find elsewhere
🌐
Anthropic
anthropic.com › engineering › claude-code-best-practices
Claude Code: Best practices for agentic coding
There’s no required format for CLAUDE.md files. We recommend keeping them concise and human-readable. For example: # Bash commands - npm run build: Build the project - npm run typecheck: Run the typechecker # Code style - Use ES modules (import/export) syntax, not CommonJS (require) - Destructure imports when possible (eg.
🌐
Shawnmayzes
shawnmayzes.com › product-engineering › running-claude-code-with-local-llm
Running Claude Code with a Local LLM: A Step-by-Step Guide
Learn how to set up Claude Code with a local large language model (LLM) using the code-llmss project. This guide walks you through installation, configuration, and real-world use cases for developers who want AI-powered coding assistance without relying on cloud-based services.
🌐
claudeaiweb
claudeaiweb.com › claude-ai-canada
How to Access & Use Claude AI Canada
February 25, 2025 - Go to Claude.ai and create an account using your email address or Google account. There is no need for a Canadian phone number. ... Upload documents (code, spreadsheets, and PDFs).
🌐
Anthropic
anthropic.com › news › introducing-claude-to-canada
Introducing Claude to Canada
We’re excited to expand our offerings to Canada—a country that has made significant contributions to the responsible development and deployment of AI—and look forward to seeing the different ways our users across Canada incorporate the Claude 3 model family into their workflows.
🌐
Reddit
reddit.com › r/claudeai › [claude code] tutorial for running claude code with a local model
r/ClaudeAI on Reddit: [Claude Code] Tutorial for running Claude Code with a local model
March 5, 2025 - I was eager to get rolling with Claude Code but wary of how expensive it'd be to do anything serious, so when I found this anon-kode and made a minimal PR to get it working with LM Studio, I was pretty pleased to kick the tires on the basic experience using a local model.
🌐
GitHub
github.com › hesreallyhim › awesome-claude-code
GitHub - hesreallyhim/awesome-claude-code: A curated list of awesome commands, files, and workflows for Claude Code
Analyzes your Claude Code prompts locally (using CC), provides intelligent session analysis and actionable strategic guidance - works in the statusline and produces very pretty HTML reports as well.
Starred by 18.7K users
Forked by 1.1K users
Languages   Python 99.0% | Makefile 1.0%
🌐
GitHub
github.com › FarhanAliRaza › claude-context-local
GitHub - FarhanAliRaza/claude-context-local: Code search MCP for Claude Code. Make entire codebase the context for any coding agent. Embeddings are created and stored locally. No API cost.
Code search MCP for Claude Code. Make entire codebase the context for any coding agent. Embeddings are created and stored locally. No API cost. - GitHub - FarhanAliRaza/claude-context-local: Code search MCP for Claude Code. Make entire codebase the context for any coding agent.
Starred by 144 users
Forked by 16 users
Languages   Python 94.6% | Shell 2.0% | C# 0.6% | Rust 0.5% | C++ 0.4% | TypeScript 0.4%
🌐
Aiforswes
aiforswes.com › p › you-dont-need-to-spend-100mo-on-claude
[Revised] You Don’t Need to Spend $100/mo on Claude Code: Your Guide to Local Coding Models
1 week ago - The local setup is almost a no-brainer when compared to a $100/mo+ subscription. Compared to free or nearly-free tooling (such as Gemini CLI, Jules, or Antigravity) there isn’t quite as strong of a monetary justification to spend more on hardware. There are benefits to local models outside of code, though, and I discuss those below.
🌐
Claude AI Hub
claudeaihub.com › how-to-use-claude-ai-in-canada
Using Claude AI in Canada & Alternatives | Claude AI Hub
June 27, 2024 - While direct access to Claude AI in Canada may not be currently available, the landscape of artificial intelligence is rich with possibilities and alternatives. By exploring local AI innovations, considering ethical ways to engage with international AI technologies, and staying connected with the global AI community, Canadians can continue to participate in the AI revolution.
🌐
GitHub
github.com › anthropics › claude-code
GitHub - anthropics/claude-code: Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
October 29, 2025 - Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows -- all through natural language commands.
Starred by 48.8K users
Forked by 3.4K users
Languages   Shell 46.4% | Python 33.8% | TypeScript 12.9% | PowerShell 4.7% | Dockerfile 2.2%
🌐
Freek.dev
freek.dev › 2883-running-claude-code-with-a-local-llm-a-step-by-step-guide
Running Claude Code with a Local LLM: A Step-by-Step Guide | freek.dev
July 14, 2025 - Even though I use Claude Code, I haven't used local models. It seems very convenient to be able to use Claude Code without an internet connection.