Free Claude Code: How to Set It Up on Windows and Mac

By Shah Rukh, software developer · · 9 min read

Free Claude Code (FCC) is an open-source program that lets you use the Claude Code coding assistant with free AI models from other companies, so you don’t need a paid Claude plan to try it. This guide shows the full setup on Windows and Mac, and the precautions to take before you start.

Read this first. FCC does not give you Anthropic’s Claude models (Opus, Sonnet, Haiku) for free. You get the Claude Code app, but the answers come from another model, such as one on NVIDIA’s free tier. It is an independent project, not made or endorsed by Anthropic.

What Free Claude Code is

Claude Code is a coding assistant that runs in your terminal. It reads your project, writes and edits files, and runs commands. Normally it talks to Anthropic’s servers, which needs a paid plan or paid API credit.

FCC is a small server that runs on your own computer and sits in the middle. Claude Code sends its requests to FCC, and FCC passes them to a provider you choose. Its project file describes it as a “local proxy connecting coding agents to OpenAI-compatible AI providers”.

PartWhat it doesCost
Claude Code (the app)The assistant in your terminalFree to install
Free Claude Code (FCC)Runs on your PC and forwards requestsFree, open source
The AI modelWrites the actual answersFree tier of the provider you pick, with limits

The project’s own page lists 59 providers, including NVIDIA NIM, OpenRouter, Groq and Google AI Studio, plus local options such as Ollama and LM Studio. It also works with other coding agents such as Codex, OpenCode, Cline and Aider. Free limits are set by each provider and can change at any time.

What you need

You don’t need to install Python yourself. The installer sets up a tool called uv, the exact Python version FCC needs, FCC itself, and the coding agents you choose.

Precautions before you install

  1. Check the installer first. The install command downloads a script and runs it. The project links both scripts so you can read them: install.sh (Mac) and install.ps1 (Windows). Both also have a dry-run option that prints every step without doing anything. It’s shown in the steps below.
  2. Only use the real repository. Copy commands from github.com/Alishahryar1/free-claude-code. A popular name attracts fake copies.
  3. Your code leaves your computer. Whatever the assistant reads is sent to the provider you choose. Free tiers may store it or use it to improve their models. Don’t use a free cloud model on client work, company code or anything with passwords in it. For private code, use a local model (see below).
  4. Keep your API keys secret. FCC saves its settings in a folder called .fcc in your user folder. Don’t share that folder, and don’t post screenshots of the Admin page with a key visible.
  5. Back up your project. A coding agent edits files and runs commands. Use it inside one project folder, keep the project in Git or make a copy first, and read each permission prompt before you approve it.
  6. Expect weaker results than real Claude. Free models make more mistakes on large tasks. Review what it writes.

How to install Free Claude Code on Windows

  1. Click Start, type PowerShell and open Windows PowerShell. (Not Command Prompt.)
  2. Optional but sensible: run a dry run first. It only prints what the installer would do.
    & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.ps1"))) -DryRun
  3. Paste the install command and press Enter:
    & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.ps1")))
  4. The installer asks which coding agents you want. Answer Y for Claude Code. You can answer N to the others.
  5. It also asks about RTK, an optional add-on that trims long command output to save tokens. You can skip it for now.
  6. Wait for it to finish, then close PowerShell and open it again so the new commands are found.

How to install Free Claude Code on Mac

  1. Press Cmd + Space, type Terminal and press Enter.
  2. Optional but sensible: run a dry run first.
    curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.sh" | sh -s -- --dry-run
  3. Paste the install command and press Enter:
    curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.sh" | sh
  4. Answer Y for Claude Code when asked which coding agents to install. RTK is optional.
  5. When it finishes, close Terminal and open it again.

The same command works on Linux.

Start Free Claude Code

FCC opens its Admin page in your browser. Use the tray or menu-bar icon to open Admin again, restart FCC or quit it. FCC must stay running while you use the assistant.

Get a free NVIDIA NIM API key

The project uses NVIDIA NIM as its default provider.

  1. Go to build.nvidia.com/settings/api-keys and sign in or create a free account.
  2. Create an API key and copy it.
  3. In the FCC Admin page, paste it into the field named NVIDIA_NIM_API_KEY.
  4. Leave MODEL on the default, or search the dropdown and pick another model.
  5. Click Apply.

Run Claude Code through FCC

  1. Open PowerShell (Windows) or Terminal (Mac).
  2. Go to your project folder. Change the path to your own:
    cd Documents/my-project
  3. Start Claude Code through FCC:
    fcc-claude
  4. Type a small request to test it, for example: explain what this project does.

Always start it with fcc-claude. The plain claude command goes to Anthropic and asks you to log in. Inside Claude Code, type /model to switch between the models you set up in FCC.

Lock down the local server

This is the step most guides skip. In the code we reviewed, the default Server Host is 0.0.0.0 on port 8082. That means the server accepts connections from other devices on the same network, not only from your own computer. On home Wi-Fi that is a small risk. On hostel, office or café Wi-Fi, someone else could use your API key through it.

Do one of these in the Admin page:

Other free providers and private local models

To add another provider, open its key page, paste the key into the matching field in Admin, pick a model in the MODEL dropdown and click Apply.

ProviderSetting in AdminExample model
NVIDIA NIMNVIDIA_NIM_API_KEYnvidia_nim/nvidia/nemotron-3-super-120b-a12b
OpenRouterOPENROUTER_API_KEYopen_router/openrouter/free
GroqGROQ_API_KEYgroq/llama-3.3-70b-versatile
Google AI StudioGEMINI_API_KEYgemini/models/gemini-3.1-flash-lite
Ollama (on your PC)OLLAMA_BASE_URLollama/<model-tag>
LM Studio (on your PC)LM_STUDIO_BASE_URLlmstudio/<model-id>

Fallback models: under Model Config you can add an ordered list of backup models. If the first provider fails or hits its limit, FCC tries the next one. One request can then use up quota at more than one provider.

Local models: with Ollama or LM Studio the model runs on your own computer, so your code is not sent to a cloud provider. You need a reasonably powerful machine, and the project advises choosing a model that supports tool use and has enough context for a coding agent.

ollama pull llama3.1
ollama serve

Paid accounts: FCC can also connect a ChatGPT or GitHub Copilot subscription. Read that service’s terms before you connect a paid account to any third-party tool. If you’re unsure, stay with normal API keys.

Update, check and uninstall

TaskCommand
Show the installed versionfcc-server --version
Update (quit FCC first)fcc-update
Collect details for a bug reportfcc-doctor

To uninstall, quit FCC and run the command for your system. It removes FCC, its launcher and the .fcc settings folder. It keeps uv, Python and your coding agents.

Windows PowerShell:

& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/uninstall.ps1")))

Mac and Linux:

curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/uninstall.sh" | sh

Common problems

ProblemWhat to try
fcc-claude is “not recognized” or “command not found”Close the terminal and open a new one. If it still fails, run the installer again.
Claude Code asks you to log in to AnthropicYou started claude. Start fcc-claude instead.
No reply, or a connection errorCheck that FCC is running (tray or menu-bar icon), then try again.
Key rejectedPaste the key again without spaces and click Apply.
Rate limit or quota errorsYou have hit the free limit. Wait, pick another model, or add a fallback model.
The model replies but can’t edit files or run commandsPick a model that supports tool use.
Update failsQuit every running FCC window and command, then run fcc-update again.

For anything else, run fcc-doctor and include its output when you report the problem on GitHub.

This guide is based on the project’s repository as it was on October 2, 2026. The project changes often, so if a step looks different, follow the README on GitHub. ToolsCloset is not connected to the project or to Anthropic. Claude and Claude Code are trademarks of Anthropic.

Frequently asked questions

Is Free Claude Code really free?

The FCC program is free and open source, and Claude Code is free to install. The AI model is free only within the free tier of the provider you choose, such as NVIDIA NIM. Those limits are set by the provider and can change.

Does Free Claude Code give me Claude Opus or Sonnet for free?

No. You use the Claude Code app, but the answers come from a different model, such as one hosted by NVIDIA, Groq or OpenRouter. To use Anthropic’s own models you still need a paid Claude plan or a paid Anthropic API key.

Is Free Claude Code safe?

It is open source, so the code and the installer can be inspected. The main risks are practical: your code is sent to the provider you choose, your API keys are stored on your computer, and by default the local server can be reached from other devices on your network. Turn on Proxy Authentication and don’t use it with confidential code.

Is Free Claude Code legal?

The project is published under the AGPL-3.0 open-source licence and says it follows each provider’s terms and removes integrations that stop being allowed. You are still responsible for following the terms of whichever provider and account you use.

Does it work on Windows without WSL?

Yes. The project provides a PowerShell installer for Windows and a desktop launcher in the Start menu.

Can I use it without the internet?

You need the internet to install it. After that you can use a local model through Ollama, LM Studio or llama.cpp, which runs on your own computer.

How do I remove Free Claude Code?

Quit FCC and run the uninstall command for your system from this guide. It removes FCC and its .fcc settings folder and keeps uv, Python and your coding agents.

More AI tips

🤖

EmailOSINT Review and Guide

See which accounts, data breaches and stolen-password logs are tied to your email, and what to do about each result.

🤖

OpenHands Agent Canvas Guide

Set up the OpenHands control centre for AI coding agents on Windows or Mac, with the safety steps to take first.

🤖

Dify Self-Hosting Guide

Run the Dify AI app builder on your own computer with Docker Compose, and know the costs and licence limits first.

🤖

LibreChat Docker Setup Guide

Run your own ChatGPT-style chat app on your computer with Docker. Full steps, real costs and safety checks.

🤖

Unity MCP Setup Guide

Let Claude Code, Cursor or Copilot work inside the Unity Editor. Full install steps, plus the precautions to take first.

🤖

sprite-gen Setup Guide

Turn one character drawing into a transparent game sprite sheet. Setup steps, real costs and precautions.

🤖

Logo Design Skill Setup Guide

Add a free logo-design skill to Claude or another AI agent on Windows or Mac, with the precautions to take first.

🤖

Openvid Screen Demo Guide

Record your screen and turn it into a polished demo in the browser, or run Openvid yourself on Windows or Mac.

🤖

ReelMimic Setup Guide

Set up ReelMimic to make an original 2D animation in the style of a reference video, with the copyright checks to do first.

Related tools

🤖

Discord Bot Maker

Build a custom Discord bot without coding.

⬇️

Markdown to HTML

Convert Markdown to clean HTML with live preview.

🧾

CSV to JSON

Convert CSV or spreadsheet data to JSON.