Run Claude Code locally on your computer

Run Claude Code locally on your computer

Published , updated By , founder of Dupple · editorial policy6 min readIntermediate

Learn how to run Claude Code privately on your computer using local open source models.

TL;DR

You'll run Claude Code entirely on your own computer using local open-source models, eliminating privacy concerns and cloud costs. By the end, you'll have a fully private coding assistant that can read files, edit code, and run commands without sending any data externally.

Who this is for

  • Software developers concerned about code privacy
  • Freelancers wanting to avoid API costs
  • Hobbyists building projects with sensitive data

What you'll build

You'll set up Claude Code with a local AI model, install it, and launch it to perform real coding tasks on your machine, all without cloud dependency.

Steps in this tutorial

  1. Step 1 - Choose your local AI model
  2. Step 2 - Install Claude Code
  3. Step 3 - Point Claude to your local machine
  4. Step 4 - Launch Claude and run a real test

The step-by-step instructions, prompts and screenshots are for AI Academy subscribers.

AI Academy

Unlock the full AI Academy

This tutorial and every other one, on ChatGPT, Claude, Midjourney & the other AI tools we cover

Regular price $40$19/mobilled annually ($228 a year)
Try free for 7 days

Start risk-free · Cancel anytime